Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2019, 06:22 AM
gerasimosRagkavanis gerasimosRagkavanis is offline Retrieve equation objects from plain text Windows 10 Retrieve equation objects from plain text Office 2016
Novice
Retrieve equation objects from plain text
 
Join Date: Jan 2019
Posts: 2
gerasimosRagkavanis is on a distinguished road
Default

So to be more specific I want to retrieve the equation format from a word document that has plain text. I am sorry in my last post I said VMA when I wanted to say VBA. I received a document that has Fc (the c is a subscript) so in the original word document it was an equation. But in the file I received it has the same format but it is not an actual equation object. So do you know if there is any way to retrieve those objects?
I am using this script to highlight all the equations( the script is working fine if there is a proper equation object)

Code:
Sub SelectAllEquations()
Dim xMath As OMath
Dim I As Integer
With ActiveDocument
    .DeleteAllEditableRanges wdEditorEveryone
    For I = 1 To .OMaths.Count
        Set xMath = .OMaths.Item(I)
        xMath.Range.Paragraphs(1).Range.Editors.Add wdEditorEveryone
    Next
    .SelectAllEditableRanges wdEditorEveryone
    .DeleteAllEditableRanges wdEditorEveryone
End With
End Sub

Reply With Quote
Reply

Tags
equations, word 16



Similar Threads
Thread Thread Starter Forum Replies Last Post
Placed PNG files turning into plain white objects WordUser789 Drawing and Graphics 0 06-19-2017 10:09 PM
Retrieve equation objects from plain text Plain text help with returns - looking for marker to use when converting to plain text redzan Word 1 04-18-2017 06:17 PM
Retrieve equation objects from plain text Rich text/Plain text Content Controls in Template michael.fisher5 Word 9 11-19-2014 06:36 AM
Retrieve equation objects from plain text Convert equation objects to inline objects sumjoh Word VBA 1 01-29-2013 08:38 PM
My plain text post got converted to rich text in a reply, how to convert it back? david.karr Outlook 0 01-05-2012 09:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:22 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft