dbTalk Databases Forums  

Accessing SQL Server2k in Excel Macro

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Accessing SQL Server2k in Excel Macro in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
walter1234
 
Posts: n/a

Default Accessing SQL Server2k in Excel Macro - 03-02-2009 , 08:58 AM






How do I get a reference to SQL Server so that this code will compile?

Dim sqlCnn As New SqlConnection

Can you point me to a good tutorial on Writing macros in Excel that populate
cells from an SQL database?
Thanks


Reply With Quote
  #2  
Old   
Mohit K. Gupta
 
Posts: n/a

Default RE: Accessing SQL Server2k in Excel Macro - 03-02-2009 , 10:07 AM






http://support.microsoft.com/default...306125&sd=tech

Hope it helps

--
Mohit K. Gupta
B.Sc. CS, Minor Japanese
MCITP: Database Administrator
MCTS: SQL Server 2005
http://sqllearnings.blogspot.com/


"walter1234" wrote:

Quote:
How do I get a reference to SQL Server so that this code will compile?

Dim sqlCnn As New SqlConnection

Can you point me to a good tutorial on Writing macros in Excel that populate
cells from an SQL database?
Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.