Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ASP: Open Excel File with Macro, Allow Macro to run, and then save

I'm looking for a best practice approach to the following application
life-cylce:

1. Active Server Page (ASP) has file system access to an Excel File with an
embedded VBA Macro

2. The ASP page opens the Excel File, allows the auto macro to be invoked.
The VBA code does some altering of the Excel File.

3. The ASP page then saves a copy of the file, but first strips out
(removes) any VBA Macro code. The file that is saved is the just the VBA
processed data.

I've had success automating Excel with VBScript code inside the ASP page,
but this process requires that the VBA Macro live inside the Excel file.
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
2007 Macro to Open File, Delete Contents, Save New File Flintstone[_2_] Excel Discussion (Misc queries) 2 February 1st 10 11:25 PM
Excel Macro (open and save files with different drives) jxbeeman Excel Discussion (Misc queries) 1 September 25th 09 07:40 PM
Macro to save excel file jc lewis Excel Programming 1 June 25th 04 12:52 AM
How to call File Open / Save Window in a Macro [email protected] Excel Programming 1 January 28th 04 03:46 PM
Automate open file, update links, run macro, close and save file Geoff[_7_] Excel Programming 2 August 26th 03 10:13 PM


All times are GMT +1. The time now is 05:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"