Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Accessing External Data

I am using VBA in excel to query a microsofts sql server using odbc drivers
in order to bring all the information into an excel spreadsheet. I've been
running into some problems and am wondering what is the easiest way to go
about accomplishing this task. Thanks for the help.

--Jon


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Accessing External Data

Jon,

It depends on what sort of problems you are encountering.

It could be that you need to create a Stored Procedure on the SQL Server so
that much of the data selectivity and pre-processing is done at the server
(often a lot faster than a PC), with only a table of the desired results
sent to Excel. (Might also help if you have network traffic issues)

I have used both - unfortunately, it does depend on the complexity of the
data sought and the errors encountered.

Regards

Dave


"Jon Kane" wrote in message
...
I am using VBA in excel to query a microsofts sql server using odbc

drivers
in order to bring all the information into an excel spreadsheet. I've

been
running into some problems and am wondering what is the easiest way to go
about accomplishing this task. Thanks for the help.

--Jon




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 Warning Message - I have No External Data in wrkbk Cass_makeitfun[_2_] Excel Discussion (Misc queries) 0 May 12th 10 09:02 PM
Getting External Data based on criteria insde of the external data BigMacExcel Excel Discussion (Misc queries) 0 August 31st 09 06:41 PM
Pivot table accessing external data Jwaltb Excel Discussion (Misc queries) 6 February 22nd 07 06:04 PM
Error accessing external object property XVALUES sergio Excel Discussion (Misc queries) 2 February 7th 07 04:47 PM
Accessing List Data quag2000 Excel Discussion (Misc queries) 1 May 12th 06 09:14 PM


All times are GMT +1. The time now is 02:26 PM.

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"