Thread: cell reference
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
hurlbut777 hurlbut777 is offline
external usenet poster
 
Posts: 32
Default 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