runwhen

  1. R

    VBA to Close and Save Workbook on Timer

    Hello, I found code in this forum to close my workbook after a certain amount of time, but when I use it, after closing the workbook, it wants to re-open it. Can anyone provide code that works or help me fix this one? Public RunWhen As Double Public Const cRunIntervalSeconds = 300 ' this is...
  2. K

    Script Out of range error

    Dear All, I want a particular cell to blink until the value set to today's date. following is the code used. Option Explicit Public RunWhen As Double Sub StartBlink() With Worksheets("Summary") .EnableOutlining = True .Protect Password:="isuzu", _ Contents:=True, UserInterfaceOnly:=True End...
  3. K

    code modification

    Hi all, I took this code from another spreadsheet and need it simplified. I was able to get the cell to change color, but not blink. I am wondering if it is because the code refers to indexes. Anyway, my code would be much more simple. Here is the data. 1 is good 5 is bad. So the code would...
  4. RobbieC

    Application.OnTime Error

    Hi there, I have a macro which I'm using to toggle an auto-save. The Sub 'Auto_Save_Record' works fine and turns on the auto-save every minute, but my toggle only works to turn the Auto_Save_Record on. When I toggle Auto_Save_Record to OFF, I get the Error 1004: Method 'OnTime' of object...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top