Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I perform:
Range("B7:E7").Copy Range("B11:N11").PasteSpecial xlPasteFormats, xlPasteSpecialOperationNone, False, False Then the formatting from my four source cells is replicated across my thirteen target cells. The first four cells are formatted, then the second four, the third four and finally the last one. I like this behavior. However if instead I perform: Range("B7:E7").Copy Range("B11:N11").PasteSpecial xlPasteColumnWidths, xlPasteSpecialOperationNone, False, False I don't get the same repeating behavior across my target cells. The first four cells get their column widths adjusted but the remaining nine cells get no change to their column widths. Is this a bug (I'm using XL2007)? Can anybody think of a clever way around this short of looping? In general I don't know in advance either the size of the source or target ranges. TIA, josh |
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 | |||
Can I have different column widths below each other | New Users to Excel | |||
How do I segment a column of data into size ranges in Excel? | Excel Discussion (Misc queries) | |||
Different column widths | Excel Worksheet Functions | |||
Problem with speed of PasteSpecial for large ranges | Excel Programming |