Names bloating

ChuckDrago

Active Member
Joined
Sep 7, 2007
Messages
470
Office Version
  1. 2010
Platform
  1. Windows
Hi everyone,

I developed an app which uses external text data, parsing it into Excel and manipulating it within for later saving the outcome. The macro portion that reads, formats and parses the text data into Excel is the result of my having used the recorder. It works very well but unfortunately, as the users parses and saves more files then both, the Names Manager and the Workbook Connections adds more line items related to the input files. I am sure this is not healthy down the road. Is there a way, code, snippet, whatever that either eliminates the name and connection used in that session? Massive clean ups are obviously not desirable because the undesired names comingle with legit named variables used within the code. I will really, really appreciate a tip here.
Thank you all!
Chuck
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
NAMES
Deleting names is usually staightforward if we know either which names to retain or which names to delete

Is there a definitive list of names that can be provided to VBA so that VBA can be told to delete all other names every time the workbook is either closed or opened?
 
Upvote 0

Forum statistics

Threads
1,214,867
Messages
6,122,002
Members
449,059
Latest member
mtsheetz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top