LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Pull SQL data into Excel remotely and securely?

Hi all,
I've been tasked with automating a spreadsheet for the boss that needs
to pull SQL data from one of our DB servers, and then format and
import into Excel. The mechanics of doing so aren't the problem.

I want to know how I can securely do this over the web. We'll have
multiple users of this sheet all over the country, and ideally they
would:

1) open the .XLS file
2) press the button I've got a macro tied to
3) the macro goes out and runs the SQL query, and dumps the data into
the sheet

The problem is, the macro contains a credential set for a SQL account,
and while the VB code is password protected in the sheet, the sets
will be traversing the web, open for anyone who cares to look for it.

We've an SSL VPN I can have the users manually initiate and
authenticate to, but I'd like to keep this as easy for everyone as
possible (except for me, it seems). I suspect I may be able to script
the VPN connection, open the XLS file and then continue to monitor the
open state of the XLS file then then terminate the VPN, but that seems
awfully complex...

Oh, and of course, I'm a network guy who's been tasked with all of
this! I'll gladly trade some Active Directory help for some Excel
help!!!

Thanks, any ideas/thoughts would be greatly appreciated.

 
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
HELP: opening/closing Excel remotely!!!! jille Excel Programming 1 April 3rd 07 02:50 AM
Excel slow but NOT when connected remotely!! T-Bone Excel Discussion (Misc queries) 1 September 21st 06 02:55 PM
Porting of Excel data to SQL Server 2000 remotely Luke Excel Programming 1 April 22nd 05 07:58 AM
Calling Excel macro remotely? Maury Markowitz Excel Programming 6 January 5th 05 08:21 PM
Opening Excel remotely ibeetb Excel Programming 1 April 15th 04 03:04 PM


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