Jump to content
Fórum Script Brasil
  • 0

Criar Uma Funcao


PiGmEu

Question

Ae gente beleza??

to com uma duvida aki...

existe as funcoes no Excel(SOMA, SE, etc...)

eu kria criar uma funcao X que para chamala eu faria assim na celula:

=FuncaoX(parametro1, parametro2)

alguém poderia me dar essa luz???

Vlw Galera!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Guest olliver.master

Abra o editor do VBA em: Ferramentas > Macro > Editor do Visual Basic, insira um módulo em: Inserir > Módulo e programe sua função, Ex:

Function FuncaoX(Valor1 As Long, Valor2 As Long)

FuncaoX = Valor1 + Valor2

End Function

Volte ao excel o digite = FuncaoX(célula1, célula2)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...