Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following line code that copies the column
widths from one workbook to another but doesn't seem to be working: cwkb.activesheet.columns("A:AW").columnwidth = thisworkbook.worksheets(1).columns("A:AW").columnw idth I think that there is something simpler than this. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Steven,
How is it not working? Are you getting an error? Could it be that cwkb workbook is not active? If it is, you probably don't need the cwkb qualifier. If it isn't, you can't use Activesheet, but must use a sheet name or index. -- HTH Bob Phillips "Steven Cheng" wrote in message ... I have the following line code that copies the column widths from one workbook to another but doesn't seem to be working: cwkb.activesheet.columns("A:AW").columnwidth = thisworkbook.worksheets(1).columns("A:AW").columnw idth I think that there is something simpler than this. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Different widths for each column in a 100% stacked column chart | Charts and Charting in Excel | |||
Different column widths? | Setting up and Configuration of Excel | |||
One column with various widths | Excel Worksheet Functions | |||
Column Widths | Excel Discussion (Misc queries) | |||
Column widths are the same but look different. | Excel Discussion (Misc queries) |