You are currently viewing the Excel VBA section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
Hi
I have a workbook that refreshes each time it is opened using the File menu Data -> Import External Data.
When I save the spreadsheet I want to break the link to the csv file, I would like to do it via a macro/VBA. Unselect the below, rather than have the user select data properties and manually untick the save query definition
External Data Range Properties -> Query Definition - >Save Query Definition
Thereis no need to link to a .csv file. You can use File/open.
-----------------------
Regards BrianB
Most problems occur from starting at the wrong place.
Use a cup of coffee to make Windows run faster.
It is easy until you know how.