Activiating and Selecting Excel Cells in VB.NET

Z

Zhichun Pu

I can't seem to do ANYTHING in VB. When I type in something as simple
as,

currentWorksheet.Range("A1").Activate()

the program crashes and says the "Activate()" method has failed. All
the other methods do the same thing. What is going on?

Thanks in advance.

Zhichun
 
Top