Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just a note...
Sometimes, the worse thing your code can do is select or activate a worksheet. By doing this, you may be hiding errors that will only appear when the sheet isn't active. dim myRng as range with worksheets("sheet9999") set myrng = .range(cells(1,1),cells(8,9)) end with will work fine if the sheet9999 is active (and the code is in a general module). But I've used this technique when I wanted to verify that my code was working on the correct range (selecting before deleting???). Kigol wrote: <<snipped The activate is there for debuging purposes. Once I complete sections of code I comb through them and remove all the excess. For now I want to see what it is doing as it works. The lcase is a good idea, I will begin using it. Thanks again -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formula references two embedded excel objects in Word doc | Excel Worksheet Functions | |||
Word with embedded Excel object which has reference to addin | Excel Discussion (Misc queries) | |||
Unshimmed Automation Addin and Shimmed COM Addin in same App Domai | Excel Programming | |||
Displaying cell references next to embedded cells in Word 2000 | New Users to Excel | |||
Area references highliting from addin | Excel Programming |