Im Stuck VBA UDF Formatting
Posted by Jack in UK on December 22, 2001 4:05 AM
Sorry i know i should know but ive lost it, need from 1 2 3 4 5
A0001 A0002 A0003
Funtion will be AddA() wiich offet one to right and returns, i really cant remember
Many thanks
Code is
Function AddA(Offset_Cols_by, _
Offset_Rows_by As Integer) As Variant
Dim MyFormat
MyFormat = "A####"
AddA = Format(MyFormat & Application.Caller.Offset _
(Offset_Rows_by, Offset_Cols_by).Value)
End Function