Home |
Search |
Today's Posts |
#13
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Do you protect the structure of every workbook that you develop so that users
can't rename the worksheets? Or do you find the correct worksheet some other way -- in case that worksheet is renamed? Jim Cone wrote: Once bitten, twice shy... I had difficulties using codenames a few years back and since then never use them. I prefer to set an object reference to a sheet and use that through out the code. (the above ought to help this discussion really get going, maybe it will work as well as recommending Database functions instead of SumProduct formulas) <g -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware (Excel Add-ins / Excel Programming) "Dave Peterson" wrote in message You may find that using the codename makes your procedure much more robust than using the worksheet name. I don't think I'd warn people to stay away from using it. JLGWhiz wrote: <<snipped Don't get into the code name, if you can help it. -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy data from sheet2 to sheet1 when sheet2 has variable # of rows | Excel Discussion (Misc queries) | |||
macro to print sheet2 without open sheet2 | Excel Discussion (Misc queries) | |||
how do copy "sheet1!A1+1 in sheet2 to sheet 3 and get "sheet2!A1+ | Excel Discussion (Misc queries) | |||
Go to sheet2 | Excel Programming | |||
first name and a second name - In Sheet2 I only need the first name | Excel Programming |