Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default query to external data

Whenever I open a file getting data from an external source I get a window as
follows:
Title:
Query Refresh
Message:
Path\....
This workbook contains queries to external data that refresh automatically
Enable automatic refresh / Disable automatic refresh
How can I avoid this message and default it to Enable automatic refresh?
Thank you. Tony.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default query to external data

Tony,

Click the Microsoft Office Button (upper left), and then click Excel Options.
Click Trust Center, and then click Trust Center Settings.
Click a dot on "Never show info about block content".

--
Kevin


"Tony7659" wrote:

Whenever I open a file getting data from an external source I get a window as
follows:
Title:
Query Refresh
Message:
Path\....
This workbook contains queries to external data that refresh automatically
Enable automatic refresh / Disable automatic refresh
How can I avoid this message and default it to Enable automatic refresh?
Thank you. Tony.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default query to external data

Kevin,
Is there a way to do it through code for a single sheet? I have other files
where I would like to have this option open to my choice. Thank you.
Tony.


"AFSSkier" wrote:

Tony,

Click the Microsoft Office Button (upper left), and then click Excel Options.
Click Trust Center, and then click Trust Center Settings.
Click a dot on "Never show info about block content".

--
Kevin


"Tony7659" wrote:

Whenever I open a file getting data from an external source I get a window as
follows:
Title:
Query Refresh
Message:
Path\....
This workbook contains queries to external data that refresh automatically
Enable automatic refresh / Disable automatic refresh
How can I avoid this message and default it to Enable automatic refresh?
Thank you. Tony.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default query to external data

Tony,

Unfortuniately I'm a newbie when it comes to vba code. However as I was
searching for something else for myself, I found some code that may help you.

From the VB coding post & to quote Don Guillett "try something like"

for each q in thisworkbook.querytables
q.refresh
next q

--
Hope this helps you. If not, don't stop searching. I've learned more from
this site & it's links. More than anywhere else. The MVPs are very helpful
here! I'm an Excel & Access power user & try to help out where I can.

Kevin


"Tony7659" wrote:

Kevin,
Is there a way to do it through code for a single sheet? I have other files
where I would like to have this option open to my choice. Thank you.
Tony.


"AFSSkier" wrote:

Tony,

Click the Microsoft Office Button (upper left), and then click Excel Options.
Click Trust Center, and then click Trust Center Settings.
Click a dot on "Never show info about block content".

--
Kevin


"Tony7659" wrote:

Whenever I open a file getting data from an external source I get a window as
follows:
Title:
Query Refresh
Message:
Path\....
This workbook contains queries to external data that refresh automatically
Enable automatic refresh / Disable automatic refresh
How can I avoid this message and default it to Enable automatic refresh?
Thank you. Tony.

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
External Data Query Marie Bayes Excel Discussion (Misc queries) 4 January 11th 07 06:08 PM
Get External Data-New Web Query saziz Excel Discussion (Misc queries) 1 May 23rd 06 10:22 PM
External Data Query WhytheQ Excel Programming 2 May 5th 06 04:57 PM
Query of External Data Excel GuRu Excel Discussion (Misc queries) 2 January 3rd 05 07:43 PM
Get External Data Query drswanker Excel Programming 2 December 4th 03 09:29 PM


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