View Single Post
 
Old 08-28-2014, 09:24 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

You can do it in Word easily enough. Assuming IO is the content if the cell and not part of the content then the following macro will work

Code:
Sub GetIO()
Dim oRow As Row
Dim oCell As Range
    For Each oRow In Selection.Tables(1).Rows
        Set oCell = oRow.Cells(1).Range
        oCell.End = oCell.End - 1
        If oCell.Text = "IO" Then oRow.Cells(3).Range.Text = "YES"
    Next oRow
End Sub
http://www.gmayor.com/installing_macro.htm
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote