Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Calling macros in diff worksheet

Hello
I have created few macros in worksheet, the same has been saved in
personal.xls file in MSOffice/Office10/xl start folder of C: drive.

My requirement is I wish to call these macros, while working in
new/different worksheets, execute them and the results to be pasted in the
active cell of current working sheet.

Can anybody guide me in this regard

Thanks
--
reply to my posts are welcome
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default Calling macros in diff worksheet

If things are working **to this point - OK** then you should be able to run
your macros in any new book or sheet by pressing the key combination Alt-F8;
your
Macro window (list) should appear. All macros that are in your Personal.xls
workbook you should see prefaced with "Personal.xls!" + the Macro name.
If this is not so, than you are not as far as you need to be.

I further create and add custom icons to my toolbar for several of my macros
in my Personal.xls file

"NSNR" wrote:

Hello
I have created few macros in worksheet, the same has been saved in
personal.xls file in MSOffice/Office10/xl start folder of C: drive.

My requirement is I wish to call these macros, while working in
new/different worksheets, execute them and the results to be pasted in the
active cell of current working sheet.

Can anybody guide me in this regard

Thanks
--
reply to my posts are welcome

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Calling macros in diff worksheet

As long as it is open, you should be able to use Application.Run. Check it
out in help.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"NSNR" wrote in message
...
Hello
I have created few macros in worksheet, the same has been saved in
personal.xls file in MSOffice/Office10/xl start folder of C: drive.

My requirement is I wish to call these macros, while working in
new/different worksheets, execute them and the results to be pasted in the
active cell of current working sheet.

Can anybody guide me in this regard

Thanks
--
reply to my posts are welcome



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
calling macros from worksheet to another NSNR Excel Discussion (Misc queries) 3 October 27th 07 01:49 PM
calling worksheet function from a macro Joe Farruggio Excel Worksheet Functions 3 November 20th 06 10:01 PM
calling up information from a different worksheet. Jay Adams Excel Worksheet Functions 0 October 8th 06 09:33 AM
Calling macros in another workbook Nick Wright Excel Worksheet Functions 1 January 12th 06 04:03 PM
calling a series macros with a marco gerry405 Excel Discussion (Misc queries) 0 October 18th 05 01:23 PM


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