Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub FreezeData()
Dim MyQT As QueryTable Dim i As Long Dim j As Long For Each Sheet In Sheets i = Sheet.Index For j = Worksheets(i).QueryTables.Count To 1 Step -1 Set MyQT = Worksheets(i).QueryTables(j) MyQT.Delete Next Next End Sub -- HTH RP (remove nothere from the email address if mailing direct) "Jana" wrote in message ups.com... Thanks, I never knew that could cause a problem...I am still pretty new at coding in excel. How would you recommend the code be altered? Jana |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
RP:
Thanks very much! I will implement the changes you've made. Appreciate the clarification :) Jana |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
External Links | New Users to Excel | |||
External Links | Excel Discussion (Misc queries) | |||
How to remove links to external data | Excel Discussion (Misc queries) | |||
external links | Excel Worksheet Functions | |||
How do I remove external links from Excel 2000 workbook? | Excel Discussion (Misc queries) |