Como definir un argumento de una funcion en un Modulo?

Actuariojf

New Member
Joined
Aug 29, 2002
Messages
15
Hola a todos,

Como se define los argumentos de una funcion cuando son direcciones de celdas:

Me explico, si por ejemplo, yo quiero construir una funcion MAT(X,Y)que sea equivalente a SUM(X:Y) donde x e y podrian ser X=A1 Y=C5, que tengo que escribir despues de ??:

Function MAT(x as ??,y as ??) as duoble

La funcion que me gustaria construir es mas complicada que esto, pero con esta ayuda podria comenzar.

Gracias,

ActuarioJF
This message was edited by Actuariojf on 2002-09-05 12:46
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
puede ser como as Range (Lo que devolvería el objecto completo), como Variant, o, dependiendo de lo que hace la función como String, Integer, Double, etc. Mejor dicho, dependiendo de qué hace la función se define las variables...
 
Upvote 0

Forum statistics

Threads
1,226,693
Messages
6,192,463
Members
453,725
Latest member
cvsdatreas

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top