Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default A problem with cells name in a copy/paste process

I need to copy a range of data from one book (A) to other (B). Both books
have cells with the same name and the range of data is referenced to these
cells in book A. When I copy and paste the range of data in book B appears a
Dialog Box that ask me if I want to use the version of the name in book B and
I have to say yes. The problem is that I do the copy / paste process with
macros but the dialog box always appears and I would like to €śsay yes in the
dialog box€ť automatically but I cant. Someone can to help my?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default A problem with cells name in a copy/paste process

Try something like this:

Workbooks("BookA").Sheets(1).Range("test").Copy _
Workbooks("BookB").Sheets(1).Range("test")


RBS

"LRAF" wrote in message
...
I need to copy a range of data from one book (A) to other (B). Both books
have cells with the same name and the range of data is referenced to these
cells in book A. When I copy and paste the range of data in book B
appears a
Dialog Box that ask me if I want to use the version of the name in book B
and
I have to say yes. The problem is that I do the copy / paste process with
macros but the dialog box always appears and I would like to €śsay yes in
the
dialog box€ť automatically but I cant. Someone can to help my?


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
How can I copy big ranges of cells without drag or copy/paste? Ricardo Julio Excel Discussion (Misc queries) 3 March 23rd 10 02:38 PM
Copy and paste versus copy and insert copied cells Alana New Users to Excel 1 September 28th 07 08:58 PM
Copy and Paste Problem Skc Excel Discussion (Misc queries) 1 March 8th 06 07:21 PM
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 10:47 PM
Excel cut/Paste Problem: Year changes after data is copy and paste Asif Excel Discussion (Misc queries) 2 December 9th 05 05:16 PM


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