Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Errors when copying a sheet

I have a macro that copies a sheet and renames it.
However, when it is copying, I get the following error:

A formula or sheet you want to move or copy contains the
name '\a' which already exists on the destination
worksheet.

I also get another one with a different name.

I cannot find this named ranged or anything that is
associated with it. I am using Excel 2002 and have
Hyperion Essbase installed.

Thanks in advance,

Keith

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Errors when copying a sheet

Names can be hidden.

\a looks like the way one used to mark lotus 1-2-3 macros which were
entered in a worksheet.

Regards,
Tom Ogilvy


"Dan E" wrote in message
...
Keith,

How did you look for the named range?
Try "Insert" - "Name" - "Define"
It should have a list of all the named ranges.

Dan E

"Keith" wrote in message

...
I have a macro that copies a sheet and renames it.
However, when it is copying, I get the following error:

A formula or sheet you want to move or copy contains the
name '\a' which already exists on the destination
worksheet.

I also get another one with a different name.

I cannot find this named ranged or anything that is
associated with it. I am using Excel 2002 and have
Hyperion Essbase installed.

Thanks in advance,

Keith





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Errors when copying a sheet

I looked in the Insert - Name - Define. I could not find
it.

Tom, how would I find \a or the other name is wrn.weekly?
Is there a way to turn off the error message and
automatically select Yes for each error?

Thanks,

Keith
-----Original Message-----
Names can be hidden.

\a looks like the way one used to mark lotus 1-2-3

macros which were
entered in a worksheet.

Regards,
Tom Ogilvy


"Dan E" wrote in

message
...
Keith,

How did you look for the named range?
Try "Insert" - "Name" - "Define"
It should have a list of all the named ranges.

Dan E

"Keith" wrote in message

...
I have a macro that copies a sheet and renames it.
However, when it is copying, I get the following

error:

A formula or sheet you want to move or copy contains

the
name '\a' which already exists on the destination
worksheet.

I also get another one with a different name.

I cannot find this named ranged or anything that is
associated with it. I am using Excel 2002 and have
Hyperion Essbase installed.

Thanks in advance,

Keith





.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Errors when copying a sheet

You can try

application.DisplayAlerts = False
Activesheet.Copy Destination:= . . . destination . . .
Applicaiton.DisplayAlerts = True

to see what names are in the sheet, make the sheet the active sheet and run
this macro

for each nm in ActiveWorkbook.Names
msgbox nm.name & ", " & nm.Refersto
Next

You can also use this to try to delete the names

for each nm in ActiveWorkbook.Names
' msgbox nm.name & ", " & nm.Refersto
nm.Delete
Next

--
Regards,
Tom Ogilvy



Keith wrote in message
...
I looked in the Insert - Name - Define. I could not find
it.

Tom, how would I find \a or the other name is wrn.weekly?
Is there a way to turn off the error message and
automatically select Yes for each error?

Thanks,

Keith
-----Original Message-----
Names can be hidden.

\a looks like the way one used to mark lotus 1-2-3

macros which were
entered in a worksheet.

Regards,
Tom Ogilvy


"Dan E" wrote in

message
...
Keith,

How did you look for the named range?
Try "Insert" - "Name" - "Define"
It should have a list of all the named ranges.

Dan E

"Keith" wrote in message

...
I have a macro that copies a sheet and renames it.
However, when it is copying, I get the following

error:

A formula or sheet you want to move or copy contains

the
name '\a' which already exists on the destination
worksheet.

I also get another one with a different name.

I cannot find this named ranged or anything that is
associated with it. I am using Excel 2002 and have
Hyperion Essbase installed.

Thanks in advance,

Keith





.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Errors when copying a sheet

See one more suggestion at your other post.

Keith wrote:

I have a macro that copies a sheet and renames it.
However, when it is copying, I get the following error:

A formula or sheet you want to move or copy contains the
name '\a' which already exists on the destination
worksheet.

I also get another one with a different name.

I cannot find this named ranged or anything that is
associated with it. I am using Excel 2002 and have
Hyperion Essbase installed.

Thanks in advance,

Keith


--

Dave Peterson

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
Creating copy of sheet into new file results in #REF errors Sungibungi Excel Discussion (Misc queries) 1 December 9th 09 08:52 PM
Shared sheet errors Kevin M Excel Discussion (Misc queries) 0 September 26th 05 05:11 PM
Calling a bit of code from a sheet errors gearoi Excel Discussion (Misc queries) 2 September 6th 05 08:21 PM
Copying Sheets causes errors Brad Sumner Excel Discussion (Misc queries) 3 June 12th 05 09:52 PM
Errors in copying formulas Frequent_User Excel Discussion (Misc queries) 1 December 12th 04 12:00 AM


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