Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I used the macro recorder to get the code to resize columns on a worksheet
Cells.Select Range("A1766").Activate Cells.EntireColumn.AutoFit What I don't understand in the Range. It's seems to be referring to a single cell. Could someone explain to a VBA newbie? I'm importing a text file and I want to resize the columns after import. I have the import working just need this one last thing. The worksheet will always have the same number of columns but the number of rows may vary will the above code still work? gls858 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Question | Excel Discussion (Misc queries) | |||
Macro Question | New Users to Excel | |||
Macro Question | Excel Worksheet Functions | |||
Macro Question | Excel Worksheet Functions | |||
Question about macro | Excel Discussion (Misc queries) |