Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automatic running of Macros


Hi all,

I have a simple query. I have created a macro. It needs a control key
to run. To put it more simple, it is a macro created manually and not
using the VB. Now, everytime I open the spreadsheet, I do not want the
macro to run with the control key. I want it to automatically run when
the sheet is open.

Can anyone please give me any suggestions on this please???

Thanks in advance,
Praveen:)


--
praveen_khm
------------------------------------------------------------------------
praveen_khm's Profile: http://www.excelforum.com/member.php...o&userid=30364
View this thread: http://www.excelforum.com/showthread...hreadid=514337

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Automatic running of Macros

Private Sub Workbook_Open()
myMacro
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"praveen_khm"
wrote in message
...

Hi all,

I have a simple query. I have created a macro. It needs a control key
to run. To put it more simple, it is a macro created manually and not
using the VB. Now, everytime I open the spreadsheet, I do not want the
macro to run with the control key. I want it to automatically run when
the sheet is open.

Can anyone please give me any suggestions on this please???

Thanks in advance,
Praveen:)


--
praveen_khm
------------------------------------------------------------------------
praveen_khm's Profile:

http://www.excelforum.com/member.php...o&userid=30364
View this thread: http://www.excelforum.com/showthread...hreadid=514337



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Automatic running of Macros


Thanks Bob,

It helps a lot.

Thanks again. .. :)


--
praveen_khm
------------------------------------------------------------------------
praveen_khm's Profile: http://www.excelforum.com/member.php...o&userid=30364
View this thread: http://www.excelforum.com/showthread...hreadid=514337

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
How do I set up an automatic running average in Excel shantagor Excel Worksheet Functions 3 August 24th 05 07:48 AM
Automatic running of Macro for the whole spreadsheet Rob Excel Programming 1 June 29th 05 08:19 PM
running macro at automatic time intervals tjb Excel Worksheet Functions 1 February 28th 05 09:40 PM
Automatic running Plug-in functions on load -- Urgent kumar_8675[_2_] Excel Programming 0 October 26th 04 02:22 PM


All times are GMT +1. The time now is 12:33 PM.

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"