ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   MACRO & FUNCTION (https://www.excelbanter.com/excel-discussion-misc-queries/176275-macro-function.html)

FARAZ QURESHI

MACRO & FUNCTION
 
Can a Macro as well as a Userdefined Function exist in a single module.

Upon entering a Macro code manually how can you access or assign a short key
to it?

Thanx!!!

Gary''s Student

MACRO & FUNCTION
 
Lets say that you have already entered a macro manually and want to assign a
shortcut to it. From the Excel window:

ALT-F8
Select the macro
Options...
enter the shortcut.

--
Gary''s Student - gsnu200768


"FARAZ QURESHI" wrote:

Can a Macro as well as a Userdefined Function exist in a single module.

Upon entering a Macro code manually how can you access or assign a short key
to it?

Thanx!!!


Gord Dibben

MACRO & FUNCTION
 
First question.........yes.

Second, see other reply.


Gord Dibben MS Excel MVP

On Mon, 11 Feb 2008 00:51:01 -0800, FARAZ QURESHI
wrote:

Can a Macro as well as a Userdefined Function exist in a single module.

Upon entering a Macro code manually how can you access or assign a short key
to it?

Thanx!!!




All times are GMT +1. The time now is 01:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com