Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On May 25, 12:01 pm, "Don Guillett" wrote:
How is this question different from your other post of a few minutes ago? -- Don Guillett SalesAid Software "mlep" wrote in message Thanks for the astute, concise and generally helpful answer to my question (be it the original or a slightly edited version thereof), I appreciate it. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You are entirely welcome.
-- Don Guillett SalesAid Software "mlep" wrote in message oups.com... On May 25, 12:01 pm, "Don Guillett" wrote: How is this question different from your other post of a few minutes ago? -- Don Guillett SalesAid Software "mlep" wrote in message Thanks for the astute, concise and generally helpful answer to my question (be it the original or a slightly edited version thereof), I appreciate it. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This is not really an Excel issue, I suggest you try a group dedicated to
your database software. MH "mlep" wrote in message oups.com... 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. |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Actually, scripting a VPN connection is quite easy and, although not
directly related to Excel, you could launch a simple script from Excel that would start a VPN. I'd suggest Windows built-in VPN client for your database clients, using PPTP - mainly because it's so easy to set up. Then you can script a connect/disconnect using "rasdial". Launch it from excel using the "shell" command. Rasdial can connect or disconnect a VPN (or other) session. Here's a link to rasdial info. http://www.microsoft.com/resources/d....mspx?mfr=true I think this would be a fairly easy to implement solution for automating secure connections. You have to create the VPN connections first (from the add network connection wizard). ....kurt "mlep" wrote in message oups.com... 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. |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the pointer and link, Kurt -- I'll take a look into that.
On May 25, 5:28 pm, "Kurt" wrote: Actually, scripting a VPN connection is quite easy and, although not directly related to Excel, you could launch a simple script from Excel that would start a VPN. I'd suggest Windows built-in VPN client for your database clients, using PPTP - mainly because it's so easy to set up. Then you can script a connect/disconnect using "rasdial". Launch it from excel using the "shell" command. Rasdial can connect or disconnect a VPN (or other) session. Here's a link to rasdial info. http://www.microsoft.com/resources/d...s/xp/all/prodd... I think this would be a fairly easy to implement solution for automating secure connections. You have to create the VPN connections first (from the add network connection wizard). ...kurt |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
import XML data...Is there a size limit on the import? | Excel Discussion (Misc queries) | |||
How to Start Excel in Text Import Wizard for data import | Setting up and Configuration of Excel | |||
Data Import to Excel Issue with Excel 2007 and Excel 2003 on same | Excel Discussion (Misc queries) | |||
Pull SQL data into Excel remotely and securely? | Excel Programming | |||
Import modules EXCEL caused an invalid page fault in EXCEL.EXE | Excel Programming |