Hi,
I am trying to auto fit particular columns with a variable...
I have the following
but it doesn't work..
I get the error:
"Application-defined or object-defined error"
Any idea what the right syntax is?
Cheers,
Eoin
I am trying to auto fit particular columns with a variable...
I have the following
Code:
Columns(CCol + 1 & ":" & CCol + 6).EntireColumn.AutoFit
but it doesn't work..
I get the error:
"Application-defined or object-defined error"
Any idea what the right syntax is?
Cheers,
Eoin