Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Activiating and Selecting Excel Cells in VB.NET

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
acw acw is offline
external usenet poster
 
Posts: 19
Default Activiating and Selecting Excel Cells in VB.NET

Zhichun

Range("a1").select

will take you to A1 in the current sheet.


Tony
-----Original Message-----
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
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting/Editing highlighted cells in Excel Carol330 Excel Discussion (Misc queries) 2 August 21st 09 08:11 PM
Excel keeps selecting two cells eel_electric Excel Discussion (Misc queries) 3 September 10th 08 09:59 PM
When selecting cells in Excel 07 why doesn't it highlight? Andrea Excel Discussion (Misc queries) 1 November 6th 07 03:02 PM
Selecting cells lock up Excel application Timothy L. Payne Excel Discussion (Misc queries) 1 May 13th 07 06:02 AM
The cursor on my Excel spreadsheet is not selecting cells. auberginewellies Excel Discussion (Misc queries) 2 March 20th 06 07:36 PM


All times are GMT +1. The time now is 10:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"