run the macros without opening or showing the excel sheet

  • Thread starter Thread starter psk
  • Start date Start date
P

psk

Hi friends,
I need to find out How we can shedule the wokrbook to run the macros
without opening the excel application.

When i put application.visible = false .

The application is running in the task manger ...without ending
If i use option as "workbook.close"
It's asking " do u want to save the changes in the excel" and also it's
showing the excel application..not the work book ..


Can any one tell me how to write the code for this .?

Thanks
 
Hi
use
application.displayalerts=false
activeworkbook.save
application.quit
'or
'activeworkbook.close
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top