Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Can you query status of data connections?

Hi

Is it possible to determine if data connections are disabled or not in Excel
2007 VBA?

E.g. if I run this VBA

ActiveWorkbook.Worksheets("sheet1").Range("B2").Qu eryTable.Refresh
BackgroundQuery:=False

Err.number is always 0 even if data connections are disabled. I would like
to check and prompt a warning message if the data connectios are disabled.

Many thanks
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 connections CellShocked Excel Worksheet Functions 2 October 25th 09 01:58 AM
Data connections Julie LF Excel Discussion (Misc queries) 5 January 30th 09 10:55 PM
Removing DATA Connections Saucer Man Excel Discussion (Misc queries) 1 January 23rd 09 01:14 PM
Data Connections Ric Lager Excel Worksheet Functions 0 December 5th 08 05:35 PM
Data connections Nat Excel Discussion (Misc queries) 0 August 7th 08 05:23 PM


All times are GMT +1. The time now is 05:18 AM.

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"