View Single Post
 
Old 01-23-2025, 03:39 AM
WJSwanepoel WJSwanepoel is offline Windows 10 Office 2021
Advanced Beginner
 
Join Date: Dec 2019
Location: Krugersdorp, South Africa
Posts: 82
WJSwanepoel is on a distinguished road
Question VBA to turn a selected string into an equation

If I select a string such as
\(b = CA = \sqrt{(x_3 - x_1)^2 + (y_3 - y_1)^2}\)
I can turn it into a math equation by selecting Insert/Equation/Latex/convert/all professional
it then looks like attached image.

Can I do this by VBA, by selecting the text then executing the VBA?
Attached Images
File Type: jpg Equation.jpg (7.8 KB, 22 views)
Reply With Quote