AutoRun Macro On Given Time/Date

  • Thread starter Thread starter Legacy 185509
  • Start date Start date
L

Legacy 185509

Guest
Hi
I have macro I want it to run on given data & time please help me do that.
Basically it is Macro that would Run Automatically which will send me email automatically, I got all that working, only thing I need help with is to have this Macro once every week or now daily on given time for testing


Thank you
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
I tired that code before posting it here, I also read somewhere using WorkSheet instead of Genera, that kind of worked but it wouldn't work the way I wanted it to, it would load it everytime I click anywhere excel sheet.
 
Upvote 0
this is my code I m using
This codes ar in Sheet1 Objects

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
'Application.OnTime TimeValue("08:52:00"), "Mail_Selection"

End Sub
it would run it automatically but it will keep on running more than once
how can I fix it
thank you
vwz8lv.jpg
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,291
Members
452,902
Latest member
Knuddeluff

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