Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Break link between excel and access


Hi,

I have an excel template that is linked to an access query. When the
template is opened, it automatically downloads the latest data from the
access query. Using code, I am then saving the template as a unique
excel spreadsheet. The problem is that the link is still active
between the new spreadsheet and access. So, when I open the newly
saved spreadsheet, it automatically downloads the latest data from the
access query. How can I save the template as a unique spreadsheet -
and have the link broken? In other words, how can I have the new
spreadsheet contain the template's data only, so it never grabs the
access data again?


--
Smithochris
------------------------------------------------------------------------
Smithochris's Profile: http://www.excelforum.com/member.php...o&userid=17004
View this thread: http://www.excelforum.com/showthread...hreadid=498729

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Break link between excel and access

QueryTable.Delete deletes the querytable (but keeps the values) and thus
should "break the link."
--
- K Dales


"Smithochris" wrote:


Hi,

I have an excel template that is linked to an access query. When the
template is opened, it automatically downloads the latest data from the
access query. Using code, I am then saving the template as a unique
excel spreadsheet. The problem is that the link is still active
between the new spreadsheet and access. So, when I open the newly
saved spreadsheet, it automatically downloads the latest data from the
access query. How can I save the template as a unique spreadsheet -
and have the link broken? In other words, how can I have the new
spreadsheet contain the template's data only, so it never grabs the
access data again?


--
Smithochris
------------------------------------------------------------------------
Smithochris's Profile: http://www.excelforum.com/member.php...o&userid=17004
View this thread: http://www.excelforum.com/showthread...hreadid=498729


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
How do break the link from my excel workbook to a access database. Vernon Excel Discussion (Misc queries) 4 November 17th 07 06:26 AM
break a link in excel 2003 damienmc Excel Discussion (Misc queries) 2 August 9th 06 04:36 PM
Break link MS Excel 2000 PetroChris Excel Discussion (Misc queries) 1 September 15th 05 09:09 PM
How do i break a link to another excel workbook? andreas New Users to Excel 9 July 8th 05 10:44 AM
Can I break an external link in Excel 97? stadco Excel Discussion (Misc queries) 1 January 11th 05 04:34 PM


All times are GMT +1. The time now is 09:10 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"