I wish to write a Select Case statement in a Function, say, FormatCell(cell_reference) passing a cell value. How can this be done.
Function FormatCell(ByVal Target as Integer)
Select Case Target
Case Is <=1000
Selection.NumberFormat = "0.00"
.
.
.
and so on.....
TIA
Regards,
Ninad.
Function FormatCell(ByVal Target as Integer)
Select Case Target
Case Is <=1000
Selection.NumberFormat = "0.00"
.
.
.
and so on.....
TIA
Regards,
Ninad.