Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Same code - errors on different machine?


I have some VB script code that copies the entire contents of a sheet
from one workbook to another (both wbs are open). It works on one
machine but fails on the other. The failure states "run time error
'1004' - the copy and paste are not the same size".

Maybe so, but why would this work on one machine and not the other????


What would be the differences in the comuter environment to look for to
help eliminate or narrow down this issue??????

Both machines are XP Pro version 2002, mine has SP1 (runs OK) and the
one it fails on has SP2.

Thanks,


--
JWM6
------------------------------------------------------------------------
JWM6's Profile: http://www.excelforum.com/member.php...o&userid=33413
View this thread: http://www.excelforum.com/showthread...hreadid=552796

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Same code - errors on different machine?


could it be a problem with merged cells in your data?

I usually get a copy / paste size not the same error when I try ot copy
paste merged cells.


--
Celt
------------------------------------------------------------------------
Celt's Profile: http://www.excelforum.com/member.php...o&userid=19413
View this thread: http://www.excelforum.com/showthread...hreadid=552796

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Same code - errors on different machine?


No merged cells that I know of on either the source or destination
sheets... I will double check though, good thought...

I'm writing a subset sample that I'll attach to the next post -- for
others to test to see if this happens on their machines.

Thanks,


--
JWM6
------------------------------------------------------------------------
JWM6's Profile: http://www.excelforum.com/member.php...o&userid=33413
View this thread: http://www.excelforum.com/showthread...hreadid=552796

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Same code - errors on different machine?


Just got done writing the subset of the subset code - I tried it on the
machine that was failing and the copy works. The source sheet that it
was copying was simpler so I'll try the exact sheet that it was trying
to copy next..... iof that fails it narrows it down to THAT sheet (as
suggested already)


--
JWM6
------------------------------------------------------------------------
JWM6's Profile: http://www.excelforum.com/member.php...o&userid=33413
View this thread: http://www.excelforum.com/showthread...hreadid=552796

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Same code - errors on different machine?


Well, it seemed to be the sheet I was copying. I reinstantiated the
sheet and now it copies fine.

The question still is though may never be resolved....

Why would it work OK on one machine and not the other???


--
JWM6
------------------------------------------------------------------------
JWM6's Profile: http://www.excelforum.com/member.php...o&userid=33413
View this thread: http://www.excelforum.com/showthread...hreadid=552796



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
Machine specific errors? Ron[_32_] Excel Programming 2 December 11th 05 04:00 PM
Series of errors on only one machine, security related? Maury Markowitz Excel Programming 2 October 26th 05 07:14 PM
Code looping until machine freezes!!? Simon Lloyd[_653_] Excel Programming 10 October 15th 05 01:58 AM
Line of code hanging up on one machine??? Don G - ExcelForums.com Excel Programming 3 May 21st 05 11:02 PM
code is not working on another machine Papa Jonah Excel Programming 4 March 1st 05 07:57 PM


All times are GMT +1. The time now is 12:13 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"