Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I know I can name sheets in the proptery window under the Name property.
So if i write a macro in Worbook1 refering to a sheet in Workbook1 that I named "ThisfileSheet1VbNm I can say: ThisfileSheet1VbNm.Range("A1").Select But how do I refer to the name of a sheet in another workbook (workbook2), within my code in workbook 1. If I have a sheet named "OtherfileSheet1VbNm" in workbook 2, and I want to - upon opening workbook2 within macro in workbook1- select this sheet the following code gives me an error: "Variable not Defined" OtherfileSheet1VbNm.Select How do inform my code that this named sheet exists in the workbook I have jsut opened? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extract from one sheet to another | Excel Discussion (Misc queries) | |||
How to extract a sheet from another? | Excel Discussion (Misc queries) | |||
how to extract a sheet from another? | Excel Discussion (Misc queries) | |||
Help me, compare 2 sheet and extract the match data into the new sheet. | Excel Discussion (Misc queries) | |||
Best way to extract data on one sheet & populate it on another sheet?????? | Excel Programming |