ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copy/paste (https://www.excelbanter.com/excel-programming/399900-copy-paste.html)

Shell

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

FSt1

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


Gary''s Student

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



All times are GMT +1. The time now is 09:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com