Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
DKS DKS is offline
external usenet poster
 
Posts: 103
Default Select Method of Range Class Failed

Hi,

Stuck since a few hours now on a "Select Method of Range Class Failed"
error. The error is on a simple statement like

Range ("A1").Select

Just for info, I am scuttling back and forth (programatically) between two
opened workbooks using the instruction

Activewindow.Activatenext

I have no clue on why I am getting this error and what must I do to fix
this? I have used the range("A1").select so many times in the past without
problems that i am frustrated with this error that I am getting.

All help will be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Select Method of Range Class Failed


The code should be in a standard module not a sheet module.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)


"DKS"
wrote in message
Hi,
Stuck since a few hours now on a "Select Method of Range Class Failed"
error. The error is on a simple statement like

Range ("A1").Select

Just for info, I am scuttling back and forth (programatically) between two
opened workbooks using the instruction

Activewindow.Activatenext

I have no clue on why I am getting this error and what must I do to fix
this? I have used the range("A1").select so many times in the past without
problems that i am frustrated with this error that I am getting.
All help will be appreciated.
  #3   Report Post  
Posted to microsoft.public.excel.programming
DKS DKS is offline
external usenet poster
 
Posts: 103
Default Select Method of Range Class Failed

Thanks, that solved the problem.

"Jim Cone" wrote:


The code should be in a standard module not a sheet module.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)


"DKS"
wrote in message
Hi,
Stuck since a few hours now on a "Select Method of Range Class Failed"
error. The error is on a simple statement like

Range ("A1").Select

Just for info, I am scuttling back and forth (programatically) between two
opened workbooks using the instruction

Activewindow.Activatenext

I have no clue on why I am getting this error and what must I do to fix
this? I have used the range("A1").select so many times in the past without
problems that i am frustrated with this error that I am getting.
All help will be appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Select Method of Range Class Failed

activesheet.Range("A1").select

Also note that if your active sheet is a chart then this is going to crash...
--
HTH...

Jim Thomlinson


"DKS" wrote:

Hi,

Stuck since a few hours now on a "Select Method of Range Class Failed"
error. The error is on a simple statement like

Range ("A1").Select

Just for info, I am scuttling back and forth (programatically) between two
opened workbooks using the instruction

Activewindow.Activatenext

I have no clue on why I am getting this error and what must I do to fix
this? I have used the range("A1").select so many times in the past without
problems that i am frustrated with this error that I am getting.

All help will be appreciated.

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
Select method of Range class failed Capo Excel Programming 4 August 9th 06 04:27 PM
What did I do? (Select Method of Range Class Failed ) HotRod Excel Programming 9 May 20th 05 02:11 PM
Select method of Range class failed - but why??? Orion[_2_] Excel Programming 3 December 21st 04 03:28 PM
select method of range class failed Joseph[_40_] Excel Programming 0 September 28th 04 04:08 PM
select method of range class failed Joseph[_38_] Excel Programming 1 September 28th 04 03:21 PM


All times are GMT +1. The time now is 12:31 PM.

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"