Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i want to create my own function with passing parameters. Here's the case :
Cell A1 = 5 Cell B1 = 0 and I want cell C1 = 00005 i have this function but i don't know how to insert in macro : Function TextInfix(CurrChar As String, CharInfix As String, TextLong As Integer) As String Dim CharLong As Integer, TmpInfix$ CharLong = Len(CurrChar) TmpInfix = String(TextLong - CharLong, CharInfix) & CurrChar TextInfix = TmpInfix End Function |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Passing parameters Cel Ref) to Sum function | Excel Discussion (Misc queries) | |||
Passing parameters to a called add-in... | Excel Programming | |||
Passing parameters | Excel Programming | |||
Passing parameters | Excel Programming | |||
Passing parameters to UDF | Excel Programming |