LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default Enumerate DSNs

"XP" wrote:

Using Windows XP and Office 2003;

If you have example code on how to loop thru or enumerate the DSN's on your
local machine could you please post it?

Thanks much in advance.


You can find a VBScript sample he

http://www.microsoft.com/technet/scr...5/hey0725.mspx

You can run it from VBA, you only need to replace WScript.Echo with
Debug.Print.

Hope this helps.

--
urkec


 
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
Excel and DSNs [email protected] Excel Discussion (Misc queries) 0 February 26th 08 04:44 PM
How to detect use of DSNs? Paul Martin Excel Programming 0 May 30th 06 02:43 AM
enumerate sheet Philippe L. Balmanno Excel Worksheet Functions 4 January 4th 06 12:41 AM
how to enumerate? tendercare New Users to Excel 3 August 1st 05 06:15 PM
Creating Multiple ODBC System DSNs from an Excel Spreadsheet Mark[_22_] Excel Programming 1 October 21st 03 05:06 AM


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

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"