LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Break a link to a data source

I have a template that imports external data (OBDC) and/refreshes upon
startup. Once opened, the user saves the file as a differnent name (.xlt to
..xls). When the user opens up the .xls, it automatically refreshes the data
(problem if a new query was request from our MRP system).

Is there a way with VBA to break the data link once the file is saved as an
..xls?

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)

Need code here

End Sub
 
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
"Link to other data source" - How can I find out what is linked? Chicago D Excel Discussion (Misc queries) 2 August 24th 05 08:19 PM
link source data Shahrazad Excel Discussion (Misc queries) 3 April 20th 05 10:28 PM
Break a link/formula but keep the data? Task Lead Nicole Excel Worksheet Functions 6 January 13th 05 03:12 AM
How do I break a link to a source when opening Excel 2000? GRACE Excel Worksheet Functions 1 January 7th 05 03:00 PM
Unable ot Break link for Macro with no source nate_l Excel Discussion (Misc queries) 1 December 10th 04 12:42 AM


All times are GMT +1. The time now is 04:18 PM.

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

About Us

"It's about Microsoft Excel"