ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   formating data once (https://www.excelbanter.com/excel-programming/356558-formating-data-once.html)

Nicole Seibert

formating data once
 
Question: Is there any way to set the formatting once (e.g. for row height,
and column width) so that when I transfer data into 100 or so different
user's sheets it all looks the same? I am trying to avoid cutting and
pasting the 20 or so lines of column/row formatting into the 100 or so sheets
of user interface.
Thanks,
Nicole

Candyman

formating data once
 
This is one example:
For i = 1 To Cells(8, 1).CurrentRegion.SpecialCells(xlCellTypeLastCell). Row
Sheets("Target").Columns(i).ColumnWidth =
Sheets("Source").Columns(i).ColumnWidth
Next i

Hope it helps.
Candyman

"Nicole Seibert" wrote:

Question: Is there any way to set the formatting once (e.g. for row height,
and column width) so that when I transfer data into 100 or so different
user's sheets it all looks the same? I am trying to avoid cutting and
pasting the 20 or so lines of column/row formatting into the 100 or so sheets
of user interface.
Thanks,
Nicole



All times are GMT +1. The time now is 02:35 PM.

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