Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Excel 97 error: 'Copy method of range class failed'

Hi,

I searched through previous posts but could not find anything that directly
applies to my case -- I have a client that gets the following error when they
run a macro on a spreadsheet I created on their laptop with Excel 97 (it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro is
failing (I could find out if necessary -- the problem is I'd have to walk the
user (who's not very proficient in computers) through this over the phone.

Thanks!

Robert
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Excel 97 error: 'Copy method of range class failed'

Hi Robert,

Is the macro run from a commandbutton?

If so, try setting the TakeFocusOnClick property of the button to False.


---
Regards,
Norman



"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I searched through previous posts but could not find anything that
directly
applies to my case -- I have a client that gets the following error when
they
run a macro on a spreadsheet I created on their laptop with Excel 97 (it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro is
failing (I could find out if necessary -- the problem is I'd have to walk
the
user (who's not very proficient in computers) through this over the phone.

Thanks!

Robert



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default Excel 97 error: 'Copy method of range class failed'

Norman - look at the timing on our posts ... LOL

"Norman Jones" wrote in message
...
Hi Robert,

Is the macro run from a commandbutton?

If so, try setting the TakeFocusOnClick property of the button to False.


---
Regards,
Norman



"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I searched through previous posts but could not find anything that
directly
applies to my case -- I have a client that gets the following error when
they
run a macro on a spreadsheet I created on their laptop with Excel 97 (it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro
is
failing (I could find out if necessary -- the problem is I'd have to walk
the
user (who's not very proficient in computers) through this over the
phone.

Thanks!

Robert





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Excel 97 error: 'Copy method of range class failed'

Hi Bill,

You wait over an hour for a bus and then two turn up!

---
Regards,
Norman



"William Benson" wrote in message
...
Norman - look at the timing on our posts ... LOL

"Norman Jones" wrote in message
...
Hi Robert,

Is the macro run from a commandbutton?

If so, try setting the TakeFocusOnClick property of the button to False.


---
Regards,
Norman



"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I searched through previous posts but could not find anything that
directly
applies to my case -- I have a client that gets the following error when
they
run a macro on a spreadsheet I created on their laptop with Excel 97 (it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro
is
failing (I could find out if necessary -- the problem is I'd have to
walk the
user (who's not very proficient in computers) through this over the
phone.

Thanks!

Robert







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Excel 97 error: 'Copy method of range class failed'

Hi Norman,

Yes, the macro is run from a commandbutton. The only problem now is the
button is from the "Forms" toolbar so it is not an 'ActiveX' control (this
was done so the macro would work on Mac's as well as PC's) -- I can't seem to
access the same Properties that I can with an ActiveX control -- is there a
way for me to access the "TakeFocusOnClick" property of a commandbutton from
the "Forms" toolbar?

Thanks for your help!

Robert

"Norman Jones" wrote:

Hi Robert,

Is the macro run from a commandbutton?

If so, try setting the TakeFocusOnClick property of the button to False.


---
Regards,
Norman



"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I searched through previous posts but could not find anything that
directly
applies to my case -- I have a client that gets the following error when
they
run a macro on a spreadsheet I created on their laptop with Excel 97 (it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro is
failing (I could find out if necessary -- the problem is I'd have to walk
the
user (who's not very proficient in computers) through this over the phone.

Thanks!

Robert






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Excel 97 error: 'Copy method of range class failed'

Hi Robert,

My suggestion related only to an activeX commandbutton and a forms button
does not have a TakeFocusOnClick property.

Having eliminated that possibility, it would be necessary to see the
problematic code.

---
Regards,
Norman



"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi Norman,

Yes, the macro is run from a commandbutton. The only problem now is the
button is from the "Forms" toolbar so it is not an 'ActiveX' control (this
was done so the macro would work on Mac's as well as PC's) -- I can't seem
to
access the same Properties that I can with an ActiveX control -- is there
a
way for me to access the "TakeFocusOnClick" property of a commandbutton
from
the "Forms" toolbar?

Thanks for your help!

Robert

"Norman Jones" wrote:

Hi Robert,

Is the macro run from a commandbutton?

If so, try setting the TakeFocusOnClick property of the button to False.


---
Regards,
Norman



"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I searched through previous posts but could not find anything that
directly
applies to my case -- I have a client that gets the following error
when
they
run a macro on a spreadsheet I created on their laptop with Excel 97
(it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro
is
failing (I could find out if necessary -- the problem is I'd have to
walk
the
user (who's not very proficient in computers) through this over the
phone.

Thanks!

Robert






  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default Excel 97 error: 'Copy method of range class failed'

by any chance is code triggered by clicking a button on a form or worksheet?
If so, set the TakeFocusOnClick = False.


"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I searched through previous posts but could not find anything that
directly
applies to my case -- I have a client that gets the following error when
they
run a macro on a spreadsheet I created on their laptop with Excel 97 (it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro is
failing (I could find out if necessary -- the problem is I'd have to walk
the
user (who's not very proficient in computers) through this over the phone.

Thanks!

Robert



  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default Excel 97 error: 'Copy method of range class failed'

Also, if you are using a command like Range("A1").copy instead of
ActiveSheet.Range("A1").copy ... try the latter ... or
Worksheets("MySheet").Range("A1").Copy, etc. I have seen Excel fail to "know
where it is" sometimes. I do not have any real background as to why, just
used the workaround. Hope it helps, I am only trying because I saw no one
replying to you in past couple hours.

Bill
"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I searched through previous posts but could not find anything that
directly
applies to my case -- I have a client that gets the following error when
they
run a macro on a spreadsheet I created on their laptop with Excel 97 (it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro is
failing (I could find out if necessary -- the problem is I'd have to walk
the
user (who's not very proficient in computers) through this over the phone.

Thanks!

Robert



  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Excel 97 error: 'Copy method of range class failed'

Thanks for your help Bill!!

"William Benson" wrote:

Also, if you are using a command like Range("A1").copy instead of
ActiveSheet.Range("A1").copy ... try the latter ... or
Worksheets("MySheet").Range("A1").Copy, etc. I have seen Excel fail to "know
where it is" sometimes. I do not have any real background as to why, just
used the workaround. Hope it helps, I am only trying because I saw no one
replying to you in past couple hours.

Bill
"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I searched through previous posts but could not find anything that
directly
applies to my case -- I have a client that gets the following error when
they
run a macro on a spreadsheet I created on their laptop with Excel 97 (it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro is
failing (I could find out if necessary -- the problem is I'd have to walk
the
user (who's not very proficient in computers) through this over the phone.

Thanks!

Robert




  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default Excel 97 error: 'Copy method of range class failed'

Ant the award for the most creative username on a Microsoft Forum goes to:

"Linking to specific cells in pivot table"

-----------------------------------------------
:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
-----------------------------------------------


"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Thanks for your help Bill!!

"William Benson" wrote:

Also, if you are using a command like Range("A1").copy instead of
ActiveSheet.Range("A1").copy ... try the latter ... or
Worksheets("MySheet").Range("A1").Copy, etc. I have seen Excel fail to
"know
where it is" sometimes. I do not have any real background as to why, just
used the workaround. Hope it helps, I am only trying because I saw no one
replying to you in past couple hours.

Bill
"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I searched through previous posts but could not find anything that
directly
applies to my case -- I have a client that gets the following error
when
they
run a macro on a spreadsheet I created on their laptop with Excel 97
(it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro
is
failing (I could find out if necessary -- the problem is I'd have to
walk
the
user (who's not very proficient in computers) through this over the
phone.

Thanks!

Robert








  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Excel 97 error: 'Copy method of range class failed'

Ha ha! Actually that is really bugging me - I've tried to figure out how to
change my screen name, but can't seem to find where I do that. When I go to
"Manage Your Profile", I can edit my name -- which is already correct -- but
there is nothing about screen name. Do you know where I can edit my screen
name?

Thanks!

Robert

"William Benson" wrote:

Ant the award for the most creative username on a Microsoft Forum goes to:

"Linking to specific cells in pivot table"

-----------------------------------------------
:-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-) :-)
-----------------------------------------------


"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Thanks for your help Bill!!

"William Benson" wrote:

Also, if you are using a command like Range("A1").copy instead of
ActiveSheet.Range("A1").copy ... try the latter ... or
Worksheets("MySheet").Range("A1").Copy, etc. I have seen Excel fail to
"know
where it is" sometimes. I do not have any real background as to why, just
used the workaround. Hope it helps, I am only trying because I saw no one
replying to you in past couple hours.

Bill
"Linking to specific cells in pivot table"
crosoft.com wrote in
message ...
Hi,

I searched through previous posts but could not find anything that
directly
applies to my case -- I have a client that gets the following error
when
they
run a macro on a spreadsheet I created on their laptop with Excel 97
(it
works when they run it on their mainframe which has Excel2000):

"Run-time error 1004 copy method of range class failed"

Is there any quick fix for this without knowing exactly where the macro
is
failing (I could find out if necessary -- the problem is I'd have to
walk
the
user (who's not very proficient in computers) through this over the
phone.

Thanks!

Robert






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
Error 1004 Copy method of worksheet class failed Ayo Excel Discussion (Misc queries) 3 March 28th 08 02:05 PM
Run Time Error 1004 Copy method of Worksheet class failed Paul Hitchcock Excel Programming 2 May 4th 05 08:10 PM
Run-Time Error 1004 Copy method of worksheet class failed Don Lloyd Excel Programming 0 July 27th 04 07:27 PM
VB Error: Paste Special method of range class failed Chris Excel Programming 2 January 30th 04 12:51 PM
error 1004 Select method of Range class failed J.E. McGimpsey Excel Programming 1 September 12th 03 07:42 PM


All times are GMT +1. The time now is 06:31 AM.

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

About Us

"It's about Microsoft Excel"