ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Can changes to a worksheet be applied to all wksheets in wkbook? (https://www.excelbanter.com/excel-worksheet-functions/45967-can-changes-worksheet-applied-all-wksheets-wkbook.html)

SandyM

Can changes to a worksheet be applied to all wksheets in wkbook?
 
I have a multi-worksheet workbook and I would like to apply format changes to
all worksheets with a macro. Is this possible?

Vacation's Over

In VBA

dim sht as worksheet

for each sht in Activeworkbook

"your format macro stuff here "

next sht


"SandyM" wrote:

I have a multi-worksheet workbook and I would like to apply format changes to
all worksheets with a macro. Is this possible?



All times are GMT +1. The time now is 04:48 PM.

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