Home |
Search |
Today's Posts |
#10
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Oct 26, 12:53 pm, "Bill Renaud"
wrote: Yes, it would probably be better to use something like: For lngColumn = 1 To wsActive.UsedRange.Columns.Count This will avoid looping through empty columns after the last one and will make the macro run a little faster. This assumes that column $A is not empty. -- Regards, Bill Renaud Bill, I tried using this. I get the same error again i.e. No cells were found. In this case, I have value in Column A, B and D. So, I am using your previous code that has On Error Resume Next. It works great. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... | Excel Programming |