Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default auto run macro on workbook open


How do I get my customized form "frmCustEnrollment" to run automaticall
when the entire file or workbook "CEF.xls" is opened

--
Mcastee
-----------------------------------------------------------------------
Mcasteel's Profile: http://www.excelforum.com/member.php...fo&userid=1569
View this thread: http://www.excelforum.com/showthread.php?threadid=27829

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default auto run macro on workbook open

Hi
put your code in the workbook_open() event procedure of your workbook

"Mcasteel" wrote:


How do I get my customized form "frmCustEnrollment" to run automatically
when the entire file or workbook "CEF.xls" is opened?


--
Mcasteel
------------------------------------------------------------------------
Mcasteel's Profile: http://www.excelforum.com/member.php...o&userid=15698
View this thread: http://www.excelforum.com/showthread...hreadid=278291


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default auto run macro on workbook open

Hi

in the VBE window, double click on the ThisWorkbook module of your workbook,
from the top left drop down box choose Workbook and the workbook_open
procedure should be created for you
in here use
frmCustEnrollment.show

Hope this helps
Cheers
JulieD

"Mcasteel" wrote in message
...

How do I get my customized form "frmCustEnrollment" to run automatically
when the entire file or workbook "CEF.xls" is opened?


--
Mcasteel
------------------------------------------------------------------------
Mcasteel's Profile:
http://www.excelforum.com/member.php...o&userid=15698
View this thread: http://www.excelforum.com/showthread...hreadid=278291



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
auto open a workbook Jase Excel Discussion (Misc queries) 0 December 10th 08 02:05 PM
Auto open workbook(s)? Shek5150 Excel Discussion (Misc queries) 6 August 29th 08 05:58 PM
How to code VBA: Auto open workbook and run macro March Excel Discussion (Misc queries) 4 November 8th 07 08:25 PM
auto run macro at workbook open Juan Guemes Excel Programming 2 August 28th 04 10:55 PM
auto open a workbook Mauricio[_2_] Excel Programming 1 October 27th 03 03:24 PM


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