Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
General
»
Run Excel Macro Using DTS
Run Excel Macro Using DTS
Rate Topic
Display Mode
Topic Options
Author
Message
Richard Hadley
Richard Hadley
Posted Thursday, May 08, 2008 3:40 PM
Forum Newbie
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 7:28 AM
Points: 3,
Visits: 46
I am wanting to use SQL to automate some of our Excel dashboards, before a longer term solution is in place. Most of these currently involve opening the spreadsheet pressing a button which runs a macro, save the workbook then close.
I can use an ActiveX script and schedule this using the SQL Agent, and this normally works fine. The trouble is if something goes wrong with the spreadsheet I need it to not give a debug popup (as the SQL agent can not interact with this), but to close down the spreadsheet. Currently the spreadsheet is left open and as the session is from the SQL agent the server needs rebooting to release the lock. I'm using SQL 2000 and Windows 2000 Server.
I've tried to schedule a Kill program to close Excel at a later time, but as this is in a separate session fails to kill Excel in the original session.
Any ideas?
Post #497484
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.