#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default copy/paste

I am trying to copy the contents of a cell in another workbook. The problem
I have is that the source cell is the sum of many cells. This is causing me
problems. I get #REF instead of the cell data.

Any help would be appreciated.

Thanks
--
Shell
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default copy/paste

hi
Range("A1").PasteSpecial xlPasteValues
this will paste the formula as a value instead of a formula. I'm guessing
that when you paste into the new sheet the formula looses is references which
produces the #REF error.

Regards
FSt1

"Shell" wrote:

I am trying to copy the contents of a cell in another workbook. The problem
I have is that the source cell is the sum of many cells. This is causing me
problems. I get #REF instead of the cell data.

Any help would be appreciated.

Thanks
--
Shell

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default copy/paste

Windows("Book2").Activate
Range("Z100").Select
Selection.Copy
Windows("Book1").Activate
Range("A1").PasteSpecial Paste:=xlPasteValues
--
Gary''s Student - gsnu200750


"Shell" wrote:

I am trying to copy the contents of a cell in another workbook. The problem
I have is that the source cell is the sum of many cells. This is causing me
problems. I get #REF instead of the cell data.

Any help would be appreciated.

Thanks
--
Shell

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
Can't Copy and Paste or Paste Special between Excel Workbooks wllee Excel Discussion (Misc queries) 5 April 29th 23 03:43 AM
Automating copy/paste/paste special when row references change Carl LaFong Excel Programming 4 October 8th 07 06:10 AM
help w/ generic copy & paste/paste special routine DavidH[_2_] Excel Programming 5 January 23rd 06 03:58 AM
Excel cut/Paste Problem: Year changes after data is copy and paste Asif Excel Discussion (Misc queries) 2 December 9th 05 05:16 PM
Copy and Paste macro needs to paste to a changing cell reference loulou Excel Programming 0 February 24th 05 10:29 AM


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