A
A
Andrew2021-08-31 16:45:36
Visual Basic
Andrew, 2021-08-31 16:45:36

How to specify the text in the value of the variable and what would it be displayed in the "text" excluding mathematical formulas?

Hello. Please treat with understanding because I am a beginner and I am interested in this issue to raise my level
in the work process. (in other words, for an application that uses VBS as its basis, I create macros to simplify my work)
The bottom line is that in the value field I will need to enter text with mathematical formulas without using ""
and after this value should be displayed as text to the text definition '('this is for software)
Here is an example of writing the script itself as I imagine it to myself.
The difficulty is that the data comes to me without "" and in a huge amount, which slows down the process.

Dim PVC
PVC=1199/12  23х0,8
GEOTEXT PVC

Please tell me the solution, in the search for it, I'm already completely confused.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BindOf, 2021-09-26
@BindOf

dim pvc
pvc = 1199/12 23x0,8
geotext = chr(34) & pvc & chr(34)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question