Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / March 2008

Tip: Looking for answers? Try searching our database.

quick names removal before sheet move

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jose Mourinho - 26 Mar 2008 13:30 GMT
I regularly copy a particular sheet over to another workbook, but have to
click away a multitude of Names in that sheet when prompted by Excel (i.e.
whether to copy the names over to the new workbook or not). Is not my sheet,
so cannot have the Names permanantly removed unfortunately. Is a tedious
process...I would love to have a 'Ignore all' button (maybe one day eh?).

Anyone know a quick way to avoid all this clicking?

JM
Don Guillett - 26 Mar 2008 13:40 GMT
Example layout along with example of data and name list

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

>I regularly copy a particular sheet over to another workbook, but have to
> click away a multitude of Names in that sheet when prompted by Excel (i.e.
[quoted text clipped - 6 lines]
>
> JM
Gary''s Student - 26 Mar 2008 13:52 GMT
Try this little macro:

Sub NameDropper()
n = ActiveWorkbook.Names.Count
For i = n To 1 Step -1
   ActiveWorkbook.Names(i).Delete
Next
End Sub

Signature

Gary''s Student - gsnu200775

> I regularly copy a particular sheet over to another workbook, but have to
> click away a multitude of Names in that sheet when prompted by Excel (i.e.
[quoted text clipped - 5 lines]
>
> JM
Don Guillett - 26 Mar 2008 14:33 GMT
If you guessed correctly that OP wants to remove "names" then this will also
work

for each n in activeworkbook.names
n.delete
next n

Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> Try this little macro:
>
[quoted text clipped - 16 lines]
>>
>> JM
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.