Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
cell reference
I am attempting to write code that will activate a particular workbook based
upon a workbook name that is entered into cell d2. Below is my feeble attempt that is not working... any help is appreciated. Dim x As Range Set x = Range(D2) Workbooks (x).Activate |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
cell reference
Hi
you may try workbooks(x.value & ".xls").activate Note: The other workbook has to be open for this statement! "hurlbut777" wrote: I am attempting to write code that will activate a particular workbook based upon a workbook name that is entered into cell d2. Below is my feeble attempt that is not working... any help is appreciated. Dim x As Range Set x = Range(D2) Workbooks (x).Activate |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Nesting a sheet name reference within a cell reference??? | Excel Discussion (Misc queries) | |||
Changing sheet reference to cell reference | Excel Worksheet Functions | |||
absolute cell reference A spreadsheet cell reference that does no | Excel Discussion (Misc queries) | |||
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. | Excel Worksheet Functions | |||
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable | Excel Worksheet Functions |