Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default alle namen in een spreadsheet wissen

Hallo allemaal,

ik zoek een zeer simple VBA routine om alle namen in de actieve workbook te
verwijderen, wie weet deze (zeker zeer simpele) code?

Alvast bedankt,

Sabine (met een lichte black-out)



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default alle namen in een spreadsheet wissen

This routine will remove all the Defined Names in the Active wrokbook:

Sub ClearNames()
Dim n As Name
For Each n In ActiveWorkbook.Names
n.Delete
Next
End Sub

--
Gary''s Student - gsnu200903


"Sabine" wrote:

Hallo allemaal,

ik zoek een zeer simple VBA routine om alle namen in de actieve workbook te
verwijderen, wie weet deze (zeker zeer simpele) code?

Alvast bedankt,

Sabine (met een lichte black-out)




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default alle namen in een spreadsheet wissen

Exactly wat I was hoping for, thank you very much - and excuses for me
writing my post in Dutch, I was in a hurry and did't realize that I was in
the english-speaking newsgroup :-)

Beste regards,

Sabine


"Gary''s Student" schreef in
bericht ...
This routine will remove all the Defined Names in the Active wrokbook:

Sub ClearNames()
Dim n As Name
For Each n In ActiveWorkbook.Names
n.Delete
Next
End Sub

--
Gary''s Student - gsnu200903


"Sabine" wrote:

Hallo allemaal,

ik zoek een zeer simple VBA routine om alle namen in de actieve workbook
te
verwijderen, wie weet deze (zeker zeer simpele) code?

Alvast bedankt,

Sabine (met een lichte black-out)






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 523
Default alle namen in een spreadsheet wissen

Select a cell where you want the list to start and run this macro:

Sub names()

Selection.ListNames

End Sub


"Sabine" wrote:

Hallo allemaal,

ik zoek een zeer simple VBA routine om alle namen in de actieve workbook te
verwijderen, wie weet deze (zeker zeer simpele) code?

Alvast bedankt,

Sabine (met een lichte black-out)




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default alle namen in een spreadsheet wissen

Not exactly what I was hoping for, but completely my fault when I am posting
a request in Dutch, SORRY! I was looking for a routine to delete all names
in a spreadsheet, see the other answer, THANKS ANYWAY :-)

Sabine


"Sam Wilson" schreef in bericht
...
Select a cell where you want the list to start and run this macro:

Sub names()

Selection.ListNames

End Sub


"Sabine" wrote:

Hallo allemaal,

ik zoek een zeer simple VBA routine om alle namen in de actieve workbook
te
verwijderen, wie weet deze (zeker zeer simpele) code?

Alvast bedankt,

Sabine (met een lichte black-out)








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
Send Mail in Excel Spreadsheet with fields in spreadsheet Elton Law[_2_] Excel Programming 3 April 28th 09 02:39 AM
Transmitting data from a server spreadsheet to a client spreadsheet gloryofbach Excel Programming 3 October 27th 05 11:23 AM
conversion of MS Works Spreadsheet to Excel 2002 Spreadsheet Kellie Excel Discussion (Misc queries) 1 March 24th 05 06:31 PM
Is there a way to insert a formula, password or macro in an excel spreadsheet that will automatically delete the spreadsheet? oil_driller Excel Discussion (Misc queries) 1 February 8th 05 09:34 AM
How to open another Excel spreadsheet to copy data into current spreadsheet ? Ricky Pang Excel Programming 0 July 13th 03 01:59 PM


All times are GMT +1. The time now is 01:38 AM.

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"