View Single Post
 
Old 01-05-2016, 01:47 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,137
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

Presumably you want to put the text in the cell and format it as bold? In which case

Code:
strtxt = "SomeText"
    'set a range to the cell
    Set rng = tbl.Cell(i, 3).Range
    'remove the end of cell character from the range
    rng.End = rng.End - 1
    'Add the text to the range
    rng.Text = strtxt
    'Format the range
    rng.Font.Bold = True
__________________
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