Macros setup deployment

  • Thread starter Thread starter Thierry Paradis
  • Start date Start date
T

Thierry Paradis

Hi!

I have a Template (to place in the template folder) and a .xls file with
macros (to place in the XLStart folder) to deploy. Is it possible to deploy
thoses files with a setup.bat? The difficuly is to get the template and the
XLStart folders in a command line.

If it's not possible, which are the other ways to automatically install
those files?

Thanks for help,

Thierry Paradis.
 
Hi,

I wrote a macro in which I delete sheets. On execution I get an
obnoxious warning message asking if I really want to do that. Of course
I do !!!!

Is it possible to prevent that kind of information warning from popping
up?

Thx in advance,
Jo


P.S. I'm still using EXCEL97
 
Just before you delete the sheet(s) add this line to your code:

Application.DisplayAlerts = False

then after you have deleted them add this line:

Application.DisplayAlerts = True

This will turn off the warning message for you.

Hope this helps.

Pete
 

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