Hi
I have variables defined in an Excel macro as Long, and I want them to
return the value in a Word Report with thousand comma separators - is there
a way of doing this please?
Wendy Francis
wfrancis@creativeconnections.co.uk
Hi
I have variables defined in an Excel macro as Long, and I want them to
return the value in a Word Report with thousand comma separators - is there
a way of doing this please?
Wendy Francis
wfrancis@creativeconnections.co.uk
Hi Wendy
You can use FormatNumber() to format your variable before you produce your report.
eg. YourVariable = FormatNumber(YourNum, , , , vbTrue)
Regards
Shaun
That's brilliant Shaun. Thanks very much.
Wendy
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks