ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Match Formatting (https://www.excelbanter.com/excel-programming/395797-match-formatting.html)

Chris

Match Formatting
 
My VBA code creates multiple sheets and fills them with data. Each
time a new sheet is created it has default formatting. I have a sheet
that's formatted exactly as I want it, and I'd like for these newly
created sheets to take on that formatting.

Is there any way I can code it so that the formatting of the new
sheets is the same as the formatting of that existing sheet?


Chris

Match Formatting
 
On Aug 17, 10:05 am, Chris wrote:
My VBA code creates multiple sheets and fills them with data. Each
time a new sheet is created it has default formatting. I have a sheet
that's formatted exactly as I want it, and I'd like for these newly
created sheets to take on that formatting.

Is there any way I can code it so that the formatting of the new
sheets is the same as the formatting of that existing sheet?


When I say formatting, the things in particular that I'm looking are
data type (number, date, percentage, etc.) and column width. I'd
really like for new sheets to retain those properties.


Chris

Match Formatting
 
Sorry! Never mind. Instead of creating a new sheet, I just created a
template and copied that sheet. Easy enough.

Thanks anyway.



All times are GMT +1. The time now is 07:45 PM.

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