LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Renaming Invalid Defined Names

Hi,

I do have a utility that is able to do batch fixing of corrupt names.
Send me an email if you want it.

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com

P. Dua-Brown wrote:
What I'd like to do automate the renaming process. Let say I have 32 invalid
names is there a way to use vba to rename each of the invalid names to new
valid names let's say Junk1, Junk2 ... Junk32?


"Dave Peterson" wrote in message
...
Depends on what you mean by automate.

Jan Karel kind of automates it in his addin--but the user still needs to

respond
to the dialog.

If you mean that, then you could do the same kind of thing--toggle that

setting
and have the user ready to answer the prompt.



"P. Dua-Brown" wrote:

Hi Dave

Thanks for the link. My query is it possible to automate the manual

method
you've stated?

Regards
Preeti

"Dave Peterson" wrote in message
...
Jan Karel Pieterse's (with Charles Williams and Matthew Henson) Name
Manager has
the ability to fix these invalid names.

You can find it at:
NameManager.Zip from http://www.oaltd.co.uk/mvp

You can also do it manually.

Tools|options|General|check r1c1 reference style
then
Tools|options|General|uncheck r1c1 reference style

You'll be prompted at one of these steps to supply a new name for

those
invalid
names. (I forget which one!)

"P. Dua-Brown" wrote:

Hi
I'm using Excel 2003 and would like to know if the following is
possible.

Some of the spreadsheets used in the office started life in Lotus

1-2-3
and
now contain loads of defined names! I can remove most of the names

but
some
are a bit more tricky as they contain characters such as %, $, & and
even
squares.

Reading through past threads I have figured out that by switching to
R1C1
notation through the Tools, Options, General tab I can rename the
invalid
ones. So I use Application.ReferenceStyle = xlR1C1 to switch over

and
then
the Name Conflict dialog box is displayed and I'm able to enter new
names
(one at a time) for each of the invalid ones. What I would like to

do is
automate the renaming of the invalid names in the Name Conflict

dialog
box
to Junk1, Junk2 etc.

Is this possible???

Many thanks
Preeti

--

Dave Peterson


--

Dave Peterson




 
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
Help! Names defined in Excel 2003 invalid in Excel 2007 Bob Berens Excel Discussion (Misc queries) 3 July 11th 09 12:50 AM
Invalid define names Noreaster Charts and Charting in Excel 6 October 30th 08 01:48 AM
Invalid Names Steve Links and Linking in Excel 5 July 28th 06 03:29 PM
Renaming Defined Name rickv Excel Discussion (Misc queries) 0 August 5th 05 11:50 PM
Renaming Defined Name rickv Excel Discussion (Misc queries) 5 August 5th 05 11:16 AM


All times are GMT +1. The time now is 07:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"