Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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
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



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