Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default macro connect to Sage DSN

Is it possible to connect to external date via an ODBC DSN. I want to
retrieve some Sage Accounts data into Excel using VBA instead of using the
Query wizard.

Thanks
Steve


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default macro connect to Sage DSN

Turn on the macro recorder and use the query wizard (data=Get External
Data). That should give you the specific code you need.

--
Regards,
Tom Ogilvy


"SW" wrote in message
...
Is it possible to connect to external date via an ODBC DSN. I want to
retrieve some Sage Accounts data into Excel using VBA instead of using the
Query wizard.

Thanks
Steve




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default macro connect to Sage DSN

Of course if you mean without putting the data in the spread sheet, then you
can use ADO.

To find connection strings:

http://www.able-consulting.com/ADO_Conn.htm

you probably want

ODBC DSN
File DSN

some information on ADO

http://www.erlandsendata.no/english/...odao/index.php

http://support.microsoft.com/default...61&Product=xlw
XL2000: How to Use ADO to Return Data to a ListBox or ComboBox

--
Regards,
Tom Ogilvy



"SW" wrote in message
...
Is it possible to connect to external date via an ODBC DSN. I want to
retrieve some Sage Accounts data into Excel using VBA instead of using the
Query wizard.

Thanks
Steve




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 to connect Sage line 50 v12 with Excel 2007 JillianM Excel Discussion (Misc queries) 0 January 5th 11 10:15 PM
how do i connect to Sage Line 50 v12 from Excel 2007? Liciasmum Excel Discussion (Misc queries) 1 February 19th 08 01:32 PM
how to view sage tool bar Sage tool bar Excel Worksheet Functions 2 November 21st 06 07:04 AM
Macro to connect excel sheets automatically to Hyperion ESSBASE 6.5 mcm Excel Programming 0 August 29th 03 10:44 AM
Adding buttons and connect macro Lars Peter Nielsen Excel Programming 4 August 20th 03 06:05 PM


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