Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This is the third time I have tried to post this question. I can't seem to
find it anywhere. My question is this. I have the below code, which works great. Howvever, I would like it to reference the active sheet, as opposed to a spelled pout one. This way I can use repeatedly, without having to reference the specific sheet name. Any help would be great. Thanks! Mike |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This is the third time I have tried to post this question. I can't seem
to find it anywhere. My question is this. I have the below code, There was no code below... which works great. Howvever, I would like it to reference the active sheet, as opposed to a spelled pout one. This way I can use repeatedly, without having to reference the specific sheet name. Where you spell out the sheet name (as a String value), I would guess you could replace that String value with this... ActiveSheet.Name and concatenate that in instead. Rick |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
With Activesheet
'do stuff End With But what is wrong with referencing a specific sheet name, at leat you know you have the correct sheet then. Someone or something may change the activesheet. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Mike Milmoe" wrote in message ... This is the third time I have tried to post this question. I can't seem to find it anywhere. My question is this. I have the below code, which works great. Howvever, I would like it to reference the active sheet, as opposed to a spelled pout one. This way I can use repeatedly, without having to reference the specific sheet name. Any help would be great. Thanks! Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert a Number Code to a Text Code | Excel Discussion (Misc queries) | |||
Unprotect Code Module in Code | Excel Discussion (Misc queries) | |||
Need 2 add second then third code with first code in the Tab View | Excel Worksheet Functions | |||
copying vba code to a standard code module | Excel Discussion (Misc queries) | |||
Write a code by code | Excel Discussion (Misc queries) |