Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
With Worksheets("sheetA")
Set rng = .Range("a2", .Range("a" & Rows.Count).End(xlUp)) For Each X In rng ' Next X End With With above code i can loop through all rows of my data in column(A). Say my data consists of unknown numbers of rows and columns and i want to loop from last cell of column(A) to the right most column which is unkown. I mean from left most to the right most column of last row with data. How can i modify above code for that purpose ? Thank you very much in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
when inserting new worksheets they read right to left not left to. | Setting up and Configuration of Excel | |||
Match, then Look Left 4 Columns, then Loop to End of Range | Excel Programming | |||
Loop Until Desired Columns left | Excel Programming | |||
How to make a cell appear in upper left (top left) corner of works | Excel Programming | |||
How to change the right-to-left worksheet to left-to-right workshe | Excel Discussion (Misc queries) |