ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro to Uncheck Save Query Definition (https://www.excelbanter.com/excel-programming/368685-macro-uncheck-save-query-definition.html)

NYbills

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?

Tom Ogilvy

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?



All times are GMT +1. The time now is 04:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com