Excel Multiple sheet updates

L

Liz

What is the correct function to use in my macro if I have many sheets in my
workbook and I need to update them monthly. after I update them, I have the
updated date in the footer. I know you can select all the sheets by holding
the shift key, but everything I have tried for the date changes everytime I
open the workbook. I want the date to change only when I run my macro.
 
S

Sean Timmons

=If day(now())=1 Then
perform task

Or, you can just assign the macro to a button and have it run on click.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top