PC Review


Reply
Thread Tools Rate Thread

Can I respond by program for prompt conflict name

 
 
=?Utf-8?B?V2FyZGE=?=
Guest
Posts: n/a
 
      27th Nov 2006
Hi,
I am copying by program a range of cells from one book to another. These
cells, which I want to copy, contain formula with names defined at workbook
levels. The workbook destination contains same defined names. When a program
copies cells from one workbook to another workbook Microsoft Excel displays
for each name the following prompt indicating name conflict.
"A formula or sheet you want to move or copy contains the name 'aaaa', which
already exists on the destination worksheet. Do you want to use this version
of the name?
- To use the name as defined in the destination sheet, click Yes
- To rename the range referred to in the formula or worksheet, click No, and
enter a new name in the Name Conflict dialog box".
My response is Yes for all names.
My question is How can I give the response automatically with VBA, is there
any parameter to VBA “paste” command which will replace the prompt of Excel.
Thanks in advance.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIEphY2tzb24=?=
Guest
Posts: n/a
 
      27th Nov 2006
Does "Application.DisplayAlerts = False" not work for this? I've not tried
this particular situation so I am "grabbing at straws".
--
Best wishes,

Jim


"Warda" wrote:

> Hi,
> I am copying by program a range of cells from one book to another. These
> cells, which I want to copy, contain formula with names defined at workbook
> levels. The workbook destination contains same defined names. When a program
> copies cells from one workbook to another workbook Microsoft Excel displays
> for each name the following prompt indicating name conflict.
> "A formula or sheet you want to move or copy contains the name 'aaaa', which
> already exists on the destination worksheet. Do you want to use this version
> of the name?
> - To use the name as defined in the destination sheet, click Yes
> - To rename the range referred to in the formula or worksheet, click No, and
> enter a new name in the Name Conflict dialog box".
> My response is Yes for all names.
> My question is How can I give the response automatically with VBA, is there
> any parameter to VBA “paste” command which will replace the prompt of Excel.
> Thanks in advance.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Office 2007 and OpenOffice conflict, now Documents window fails to respond Tuan Windows Vista General Discussion 6 28th Aug 2007 01:22 AM
program will not respond =?Utf-8?B?bm9taXMgMQ==?= Microsoft Access Getting Started 0 18th Jun 2006 11:18 AM
user input into active excel macro- prompt - respond -insert-cont =?Utf-8?B?UmljaGFyZCBEdWtl?= Microsoft Excel Programming 1 18th Feb 2006 02:44 PM
disabling/enabling the respond prompt Essy Microsoft Outlook Discussion 4 7th Oct 2003 10:08 PM
macro to respond to clipboard prompt? gary Microsoft Excel Programming 4 15th Sep 2003 03:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:54 AM.