Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Eric,.
Range("A1").Resize(1, Cells(1, Columns.Count).End(xlToLeft).Column).Select -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Eric" wrote in message ... Hi, How could I select a range in macro if I don't know how many columns I have, meaning my columns is variable. Example: Range("A1:A4").select Need help. TIA Eric |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help writing Excel macro when range changes | Excel Worksheet Functions | |||
macro to copy from excel range to word doc | Excel Discussion (Misc queries) | |||
Help with Dynamically changing Range in Excel Macro | Excel Discussion (Misc queries) | |||
How do I set up a formula with a changing range in an excel macro | Excel Discussion (Misc queries) | |||
Using a macro to set a range name in EXCEL | Excel Programming |