Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Macro to Uncheck Save Query Definition

Would like a macro to remove the external data properties on a copied
worksheet.

The goal is to make the data static.

I have tried using the macro recorder but this does not record the
process/task.

Does anyone have any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Macro to Uncheck Save Query Definition

activesheet.querytables(1).Delete

this would leave the data.

--
Regards,
Tom Ogilvy

"NYbills" wrote:

Would like a macro to remove the external data properties on a copied
worksheet.

The goal is to make the data static.

I have tried using the macro recorder but this does not record the
process/task.

Does anyone have any suggestions?

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
Removing Query Definition Nigel Excel Discussion (Misc queries) 0 November 23rd 09 11:38 AM
lost query definition rachael Excel Discussion (Misc queries) 0 March 9th 07 08:39 PM
DISABLE "SAVE QUERY DEFINITION" [email protected] Excel Programming 1 January 7th 05 09:11 AM
Remove Query Definition with Macro or VBA Paul Simpson Excel Programming 2 January 6th 05 11:20 AM
disable save query definition in VBA sorry repost Cesar Zapata[_2_] Excel Programming 0 July 24th 03 04:37 PM


All times are GMT +1. The time now is 10:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"