Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default How to call a procedure in program

I got two queries

1. I would like to call a procedure which is already there in my harddisk
(macros written earlier. While calling a procedure written earlier, if
possible to call procedure not from begining somewhere from middle) if
possible?

2. I got more than 50 macros written and every time it asks for short key.
All short keys are already used in my earlier macros, Presently i remove the
file from Excel - Macros directory to add new macro, if there any other best
alternative?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default How to call a procedure in program

Vijay,
1 - Not sure what you mean, as macros (VBA code) is stored in workbooks. The
workbook has to open before you can run the code.
Then you can Call/Run the code routine (sub or function), but this obviously
starts from the beginning of the routine and continues to the end.

2 - You do not have to set a short-cut key. Only use it for the common code
that you run frequently. If the workbook is not open, its macros short-cut
keys will do nothing.

NickHK

"Vijay Kotian" wrote in message
...
I got two queries

1. I would like to call a procedure which is already there in my harddisk
(macros written earlier. While calling a procedure written earlier, if
possible to call procedure not from begining somewhere from middle) if
possible?

2. I got more than 50 macros written and every time it asks for short key.
All short keys are already used in my earlier macros, Presently i remove

the
file from Excel - Macros directory to add new macro, if there any other

best
alternative?



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
procedure call BorisS Excel Programming 1 September 18th 06 07:16 AM
Call Procedure Ronbo Excel Programming 4 February 23rd 05 08:11 PM
Where else to look for procedure call Lulu Excel Programming 2 November 24th 04 02:14 AM
call procedure bob Excel Programming 1 August 9th 03 12:40 AM
procedure won't call John Gittins Excel Programming 0 August 5th 03 08:17 PM


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