Skip to content

Instantly share code, notes, and snippets.

@eugeneai
Created October 12, 2013 07:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eugeneai/6947138 to your computer and use it in GitHub Desktop.
Save eugeneai/6947138 to your computer and use it in GitHub Desktop.
Macro that touches each object and tries to convert
Sub RenewEquations()
' The stupid macro "Touches" each object in the document
' and tries to convert it into Equation3.
' We suppose it will be useful in adjusting formulas from
' Libre office after conversion.
For Each iShape In ActiveDocument.InlineShapes
iShape.Select
iShape.OLEFormat.ConvertTo ClassType:="Equation.3"
Next iShape
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment