Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel in IE help
I have a web page that opens an excel document. This document is generated
by a cgi component from a web server. On a daily basis I generate a data dump of the information contained in the database on the web server. (Unix) This CGI component generates a excel spreadsheet and it is viewable in IE. Excel starts up within the IE window. I have to format some columns as text, then sort in descending order before I do a save as command to save the file on my local hard drive. Once the file is on my hard drive (CurrentDump.xls) I then import this data into a MS Access application. I create a MACRO that 1. formats columns A, B, and C as text then 2. Sorts column C in descending order then 3. Performs a Save As with the naming convention of a. CurrentDump.xls The issue is I can create the Macro just fine and it works. However the next time the web page generates the excel sheet the macro is gone. This is to be expected since each time the page is created it is a new excel document not an continuation of an already existing document. My Goal: With my limited knowledge in programming Excel, I would like to create a custom Excel tool bar with a button that runs this Macro Code. The custom bar must be visible each time excel opens whether or not the excel sheet is generated within Internet Explorer. Is this possible? Thanks in Advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|