Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 5
Smile To run a macro

How can I run a macro automatically when a worksheet is opened
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 621
Default To run a macro

Place the code into Thisworkbook module as Workbook_Open code

Private Sub Workbook_Open()
write some code or call your macro here
End Sub


Gord

On Thu, 17 Jan 2013 20:06:10 +0000, jaccobby
wrote:


How can I run a macro automatically when a worksheet is opened

  #3   Report Post  
Junior Member
 
Posts: 5
Default

Quote:
Originally Posted by Gord Dibben[_2_] View Post
Place the code into Thisworkbook module as Workbook_Open code

Private Sub Workbook_Open()
write some code or call your macro here
End Sub


Gord

On Thu, 17 Jan 2013 20:06:10 +0000, jaccobby
wrote:


How can I run a macro automatically when a worksheet is opened
thankyou Gord
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
AutoRun Macro with a delay to give user the choice to cancel the macro wanderlust Excel Programming 2 September 28th 07 04:09 PM
Macro not showing in Tools/Macro/Macros yet show up when I goto VBA editor [email protected] Excel Programming 2 March 30th 07 07:48 PM
how to count/sum by function/macro to get the number of record to do copy/paste in macro tango Excel Programming 1 October 15th 04 01:16 PM
macro to delete entire rows when column A is blank ...a quick macro vikram Excel Programming 4 May 3rd 04 08:45 PM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 06:04 PM


All times are GMT +1. The time now is 11:39 AM.

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"