Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using the following piece of code to center a title across a changing
range, where intMaxRow (I know the wrong row, column reference) is the last column. ..Range("A2").Resize(1, intMaxRow).HorizontalAlignment = _ xlCenterAcrossSelection The problem is that it does not reset the range, it only takes the last greatest width. For example Previously intMaxRow = 8 and I reset it to intMaxRow = 4, it will still center it across the 8 rather than the 4. Any thoughts |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Colon at the end of excel file name(ex: problem.xls:1, problem.xls | New Users to Excel | |||
Started out as an Access problem. Now an Excel problem | Excel Discussion (Misc queries) | |||
problem with a conditional max problem | Excel Discussion (Misc queries) | |||
Problem when multipple users access shared xl-file at the same time, macrocode for solve this problem? | Excel Programming |