Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to start a macro when openning Excel


Hi,

I will like to know how to run a macro in Excel 97 when I open a a
workbook in excel.
The idea is that once i open a specific file in excel it automatically
runs a macro.
I need urgent help in this one.

Thanks,

Penguin.


--
pinguino2005
------------------------------------------------------------------------
pinguino2005's Profile: http://www.excelforum.com/member.php...o&userid=23833
View this thread: http://www.excelforum.com/showthread...hreadid=374866

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default How to start a macro when openning Excel

Take a look here for a description of a Workbook_Open event macro:

http://www.mvps.org/dmcritchie/excel/event.htm#wb_open

also,

http://cpearson.com/excel/events.htm

In article ,
pinguino2005
wrote:

I will like to know how to run a macro in Excel 97 when I open a a
workbook in excel.
The idea is that once i open a specific file in excel it automatically
runs a macro.
I need urgent help in this one.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to start a macro when openning Excel


I do not need to open the workbook automatically, i need to run the
macro automatically when the workbook is open,

Thanks.

I really need this answer as soon as possible


--
pinguino2005
------------------------------------------------------------------------
pinguino2005's Profile: http://www.excelforum.com/member.php...o&userid=23833
View this thread: http://www.excelforum.com/showthread...hreadid=374866

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default How to start a macro when openning Excel

Take a look at those links again.


pinguino2005 wrote:

I do not need to open the workbook automatically, i need to run the
macro automatically when the workbook is open,

Thanks.

I really need this answer as soon as possible

--
pinguino2005
------------------------------------------------------------------------
pinguino2005's Profile: http://www.excelforum.com/member.php...o&userid=23833
View this thread: http://www.excelforum.com/showthread...hreadid=374866


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 114
Default How to start a macro when openning Excel

Private Sub Workbook_Open()
MyMacroHere
End Sub

Regards

Paul Martin
Melbourne, Australia



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
Openning spesific file in Excel Farhad Excel Discussion (Misc queries) 1 November 29th 07 02:11 PM
Openning Excel Files takes too long rook Excel Discussion (Misc queries) 1 April 24th 06 10:05 PM
compile error in hidden module autoexecnew when openning excel sweetan Excel Discussion (Misc queries) 1 February 21st 06 02:57 PM
Openning Excel by double clicking on the file name in Explorer Joseph Excel Discussion (Misc queries) 2 July 1st 05 04:17 PM
Getting dw20.exe error while openning excel formatted xml file Anjan Excel Programming 0 October 4th 04 02:21 PM


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