Is it possible to specify the decimals of a variable defined in a macro as single ?
More specific:
I want a variable called "coordinate" with a value of 0.0200334543195 to be diplayed in WORD as 0.0200 using the code Selection.TypeText Text:=coordinate
Given your suggested code, it seems you don't want the variable actually saved in the document so all you have to do is manipulate the variable in VBA, using, say, [blue][tt]Format[/tt][/blue], for example:
------------------------------------------------------------------------------------ We want to help you; help us to do it by reading this:Before you ask a question.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.