Thread
:
UDF to return as text
View Single Post
#
1
Posted to microsoft.public.excel.programming
Fan924
external usenet poster
Posts: 238
UDF to return as text
This UDF returns a Hex number. I would like it to change the cell
format to text. Thanks,
Public Function DecToHex(DecNumber As Variant) As String
DecToHex = Right("0" & Hex(DecNumber), 2)
End Function
Reply With Quote
Fan924
View Public Profile
Find all posts by Fan924