Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Create executable file to run excel macro

Make the macro an Workbook open macro or call your macro from a workbook open.

Next create a BAT file to open the workbook and run the Bat.

Here is a sample of the bat file

"C:\Program Files\Microsoft Office\Office10\excel.exe" c:\temp\book1.xls

"Pawan" wrote:

Hi

I have written a complex macro in excel and now have to distribute it to
co-workers. However, I want to create an executable file which will run the
macro directly (will open the userform in my macro).

Is there any chance of doing so?

Thanks in advance

Regards,
Pawan

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
getting an excel file to run as an executable excellenze Excel Discussion (Misc queries) 1 March 24th 06 07:45 PM
How do I create an executable excel file? StephenAccountant Excel Programming 6 February 21st 06 03:48 AM
How can generate an executable file from Excel? Ofigomez Excel Discussion (Misc queries) 4 October 25th 05 01:17 PM
Excel file as an executable? James Excel Programming 4 September 7th 05 08:51 PM
Is there a way to make Excel file an executable? luvgreen[_3_] Excel Programming 1 March 3rd 04 07:27 PM


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