Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba
external usenet poster
 
Posts: 8
Default Macros setup deployment

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.


  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba
external usenet poster
 
Posts: 5,302
Default Macros setup deployment

Hi Thierry,

See Jan Karel Pieterse's create an Addin tutorial which also includes a
set-up utilty:

http://www.jkp-ads.com/Articles/DistributeMacro00.htm



---
Regards,
Norman


"Thierry Paradis" wrote in message
...
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.



  #3   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba
external usenet poster
 
Posts: 1
Default MACROS warning messages inhibition??

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

  #4   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.office.developer.vba
external usenet poster
 
Posts: 8,856
Default MACROS warning messages inhibition??

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

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
can macros include page setup functions? junebug Excel Discussion (Misc queries) 1 September 4th 08 04:15 PM
Excel Add In Deployment Exton Excel Discussion (Misc queries) 4 October 27th 07 02:25 PM
MACROS SETUP titoto Excel Discussion (Misc queries) 2 February 8th 05 08:19 PM
App using OWC 2003 Deployment - How to ? Nick Palmer Excel Programming 0 April 13th 04 06:03 PM
Deployment question Lee Excel Programming 0 July 9th 03 10:47 PM


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