Hi All,
Just a quick question, I have a userform with varying textboxes, some of which I need to cause the entry to format as Currency on the spreadsheet.
I am using the flowing code:
Which is fine, except that it formats it to the left of the column (as if it were text). Therefore the SUM function does not work.
Nay help would be appreciated.
Thanks
Just a quick question, I have a userform with varying textboxes, some of which I need to cause the entry to format as Currency on the spreadsheet.
I am using the flowing code:
Code:
ActiveCell.Offset(0, 22).Value = Format(TxtComAmt.Value, "£#,##0.00")
Which is fine, except that it formats it to the left of the column (as if it were text). Therefore the SUM function does not work.
Nay help would be appreciated.
Thanks