Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro Substitution

Status
Not open for further replies.

Xaplytz

Programmer
Jun 26, 2000
79
US
Does someone know if VB has Macro Substitution like in VFP
or some equivalent:

Example:
x="((3+2)/2)*5"
y=&x
?y Result Y=12.50

Thank
 
Long time since I worked with VFP, but no, it doesn't support Macro Substitution...

The VBA library has a function called evaluate(if I remember correctly, and it's four years since I went near it!) that might interest you.

mmilan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top