LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default DELETE A RANGE NAME IF EXISTS

Hi
I have a macro that imports data from a text file and creates a new range
name every time.
fnd_gfm_1
I need some code to delete this range name if it exists.
Note that the 1 can change depending on how many times the macro has run, so
the code needs to delete fnd_gfm_*

Any help is much appreciated
Thanks
Simon
 
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
If Worksheet exists, delete it, then re-add it Cheryl Excel Programming 2 January 14th 10 05:13 PM
if workbooks exists delete Stephen Excel Programming 4 December 4th 09 03:25 PM
If Pivot Table Exists, Delete on Close ryguy7272 Excel Programming 4 December 15th 08 12:10 PM
If sheet exists, delete Darin Kramer Excel Programming 2 August 20th 07 07:01 PM
If worksheet exists delete cereldine[_43_] Excel Programming 4 July 13th 06 05:26 PM


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