Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro to close excel application other than application.quit

I have a macro that i used the sub auto to run the macro from a
hyperlink. It runs well. The application is not visible at the start
of the process, however, visible at the end. All i need is for the
macro to run as invisible when the process is started using an
hyperlink. I add the application.quit at the end of the macro hoping
it will close excel application once the macro has ran. All it did was
rerun the process again and again. I strongly beleive this is because
I am running the macro through an hyperlink. It works well running it
by click just the excel sheet. thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default macro to close excel application other than application.quit

Have you tried to split the process.

ActiveWorkbook.Close (this may ask for a save)
or
ActiveWorkbook.Close False (this wont as for a save)

then add

Application.quit


This may help, or others may be able to give a better idea!

Celtic_Avenger
:) :) :) :) :

--
Message posted from http://www.ExcelForum.com

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
Macro to quit application K11ngy Excel Discussion (Misc queries) 7 July 6th 07 04:48 PM
Excel application.quit in macro problem TimkenSteve New Users to Excel 3 August 17th 06 06:36 PM
application.quit will not shut off application john Excel Programming 0 January 9th 04 11:29 PM
Macro to quit excel and go back to original application wendy Excel Programming 0 January 9th 04 08:22 PM
Using Application.quit is causing my macro to run and print twice... Kathy[_4_] Excel Programming 0 July 31st 03 07:12 PM


All times are GMT +1. The time now is 01:45 AM.

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

About Us

"It's about Microsoft Excel"