Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default thanks TOM. How to run macros and make the workbooks invisible

i have not tested the new codes yet. Basically, i run th
macro that contains 10 processes within a workbook called
test. I am fine with it opening test. But i do not want
it to open all ten workbook when it is run.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default thanks TOM. How to run macros and make the workbooks invisible

Using the methods you are using, it has to open your text files (which then
appear as workbooks). If you save and close them after each has been
processed, then they don't necessarily have to be seen. Right now you are
saving them, but you are not closing them

Activeworkbook.Close SaveChanges:=False ( you already saved them, so
you don't need to save again).
or
Workbooks("Hector.htm").Close SaveChanges:=False

as examples.

--
Regards,
Tom Ogilvy



christine wrote in message
...
i have not tested the new codes yet. Basically, i run th
macro that contains 10 processes within a workbook called
test. I am fine with it opening test. But i do not want
it to open all ten workbook when it is run.



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default thanks TOM. How to run macros and make the workbooks invisible

Thanks tom, But i do not need to save them all i want is
clean up the text file and save them as web file. then
the next text , then the next text. i do not want the
excel itself. i just use excel to clean up the text files.
Thanks again
-----Original Message-----
Using the methods you are using, it has to open your

text files (which then
appear as workbooks). If you save and close them after

each has been
processed, then they don't necessarily have to be seen.

Right now you are
saving them, but you are not closing them

Activeworkbook.Close SaveChanges:=False ( you

already saved them, so
you don't need to save again).
or
Workbooks("Hector.htm").Close SaveChanges:=False

as examples.

--
Regards,
Tom Ogilvy



christine wrote in message
...
i have not tested the new codes yet. Basically, i run

th
macro that contains 10 processes within a workbook

called
test. I am fine with it opening test. But i do not want
it to open all ten workbook when it is run.



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default thanks TOM. How to run macros and make the workbooks invisible

You still seem to be missing basic concepts. You open the text file in
excel and it is opened and treated like a workbook. You process it and then
save it as html. The html file still sits in excel appearing as a workbook
until you close it. All files displayed in Excel are displayed as/appear as
workbooks regardless of the actual format of the underlying file.

--
Regards,
Tom Ogilvy

wrote in message
...
Thanks tom, But i do not need to save them all i want is
clean up the text file and save them as web file. then
the next text , then the next text. i do not want the
excel itself. i just use excel to clean up the text files.
Thanks again
-----Original Message-----
Using the methods you are using, it has to open your

text files (which then
appear as workbooks). If you save and close them after

each has been
processed, then they don't necessarily have to be seen.

Right now you are
saving them, but you are not closing them

Activeworkbook.Close SaveChanges:=False ( you

already saved them, so
you don't need to save again).
or
Workbooks("Hector.htm").Close SaveChanges:=False

as examples.

--
Regards,
Tom Ogilvy



christine wrote in message
...
i have not tested the new codes yet. Basically, i run

th
macro that contains 10 processes within a workbook

called
test. I am fine with it opening test. But i do not want
it to open all ten workbook when it is run.



.



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
make button invisible if macros disabled Horatio J. Bilge, Jr. Excel Discussion (Misc queries) 0 November 29th 07 08:43 PM
How to run macros and make the workbooks invisible christine Excel Programming 6 January 9th 04 04:26 AM
(Thanks alot TOM)How to run macros and make the workbooks invisible No Name Excel Programming 0 January 5th 04 12:10 AM
How to make the Toolbar Invisible through VBA Atif Akbar[_2_] Excel Programming 2 December 11th 03 06:55 AM
Make one column Invisible. Neeraja Excel Programming 5 September 29th 03 02:58 AM


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