Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Can anybody help on Vb Macros..?

I have created many macros to automate many things what i do day to
day.
I know how to assign a macro to a button.

I want to create a macro to call these buttons always when ever excel
is opened.


Thanks in Advance


Regards
Thyagaraj

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default Can anybody help on Vb Macros..?

Do you mean run these macros when the workbook is opened, or make them
available to be run?

If the first, you can put this into the ThisWorkbook module of a
Personal.xls file you put into your XLSTART directory.

Private Sub Workbook_Open()
' Code to call your macros goes here
End Sub

Mark


Thyagaraj wrote:
I have created many macros to automate many things what i do day to
day.
I know how to assign a macro to a button.

I want to create a macro to call these buttons always when ever excel
is opened.


Thanks in Advance


Regards
Thyagaraj


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Can anybody help on Vb Macros..?


Mark Driscol wrote:
Do you mean run these macros when the workbook is opened, or make them
available to be run?

If the first, you can put this into the ThisWorkbook module of a
Personal.xls file you put into your XLSTART directory.

Private Sub Workbook_Open()
' Code to call your macros goes here
End Sub

Mark


Thyagaraj wrote:
I have created many macros to automate many things what i do day to
day.
I know how to assign a macro to a button.

I want to create a macro to call these buttons always when ever excel
is opened.


Thanks in Advance


Regards
Thyagaraj



Dear Mark Driscol,
I mean make all the macros available to be run when ever excel is
opened.



regards
Thyagaraj

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default Can anybody help on Vb Macros..?

Do you already have a Personal.xls file? If not, from the menus select
Tools, Macro, Record New Macro. Make sure to specify using the
dropdown that you want to save the macro in your Personal Macro
Workbook. Just record yourself doing 2-3 things (clicking cells,
switching worksheets, etc.). Close Excel, and when asked indicate you
want to save the Personal.xls file.

Then, open Excel, and from the Visual Basic Editor, erase the temporary
code you created in the Personal.xls file and put your macros into this
workbook. Each time you start Excel, these macros will be available
for you to use. Whenever you make changes to Personal.xls, Excel will
prompt you to save when you exit.

Mark


Thyagaraj wrote:
Mark Driscol wrote:
Do you mean run these macros when the workbook is opened, or make them
available to be run?

If the first, you can put this into the ThisWorkbook module of a
Personal.xls file you put into your XLSTART directory.

Private Sub Workbook_Open()
' Code to call your macros goes here
End Sub

Mark


Thyagaraj wrote:
I have created many macros to automate many things what i do day to
day.
I know how to assign a macro to a button.

I want to create a macro to call these buttons always when ever excel
is opened.


Thanks in Advance


Regards
Thyagaraj



Dear Mark Driscol,
I mean make all the macros available to be run when ever excel is
opened.



regards
Thyagaraj


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can anybody help on Vb Macros..?


Just Call all your macros from the one macro.

Sub MainMacro()

Macro1
Macro2
Macro3
...

End Su

--
Kaa
-----------------------------------------------------------------------
Kaak's Profile: http://www.excelforum.com/member.php...nfo&userid=751
View this thread: http://www.excelforum.com/showthread.php?threadid=55686



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
weird saving of a document with macros resulting with macros being transfered to the copy alfonso gonzales Excel Programming 0 December 12th 04 09:19 PM
Macros inside macros, and pasting into macro code. pagelocator[_2_] Excel Programming 1 November 24th 04 09:11 AM
Open workbook-macros enabled, opening another with macros George J Excel Programming 5 September 17th 04 02:07 PM
Macro Size Limit / open macros with macros? andycharger[_7_] Excel Programming 6 February 13th 04 02:00 PM
Macros not appearing in the Tools Macro Macros list hglamy[_2_] Excel Programming 5 October 24th 03 09:10 AM


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