Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just replace Worksheets("Sheet1") with ActiveSheet and that should do it.
You can do this with the code I post also in case you want to try it out (my code does not insert/delete any columns... it just works with the data you have). -- Rick (MVP - Excel) "J.W. Aldridge" wrote in message ... Thanx... Works perfectly. Only thing is... If I wanted to change the worksheets to the current/ active sheet... Set wks = Worksheets("Sheet1") |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Delete string if string has only one item | Excel Programming | |||
Count Occurances of a txt string | Excel Discussion (Misc queries) | |||
Count Occurances of String in a Column? | Excel Discussion (Misc queries) | |||
Counting multiple occurances of a specific string | Excel Worksheet Functions | |||
counting occurances of a char. within a text string/cell | Excel Programming |