ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel Multiple sheet updates (https://www.excelbanter.com/excel-worksheet-functions/204164-excel-multiple-sheet-updates.html)

Liz

Excel Multiple sheet updates
 
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.

Sean Timmons

Excel Multiple sheet updates
 
=If day(now())=1 Then
perform task

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

"Liz" wrote:

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.



All times are GMT +1. The time now is 12:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com