Thread: Dim c as Cell
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Keith Howard Keith Howard is offline
external usenet poster
 
Posts: 14
Default Dim c as Cell

Hello.

I have an embarrassingly simple question. How do I declare a variable as a
Cell? The above line is not compiling.

I have set the following Tools | References:
Visual Basic For Applications
Microsoft Excel 12.0 Object Library
OLE Automation
Microsoft Office 12.0 Object Library

I'm sure I have done this many times in the past successfully, but, for some
reason, it is not working now.

Thanks.

Keith