jim may
Well-known Member
- Joined
- Jul 4, 2004
- Messages
- 7,486
WIthin my Excel Code I incorporate Word to Print out Information in the COMMENTS of a certain Cell. Here are the code lines as they relate to placing the values into the New Word Document. I'd like to be able to Format the Variable AppsName - Font.size 16; Bold; and Underlined, but I'm unsure at to how to proceed. Can someone assist, showing me the proper syntax?
TIA,
Jim
TIA,
Jim
Code:
WordObj.Documents.Add
With WordObj.Selection
.TypeParagraph
.TypeText Text:="It is now: " + Format(Now(), "mmm-dd-yyyy hh:mm")
.TypeParagraph
.TypeText Text:="My Comment History-To-Date on " + AppsName + " is as follows:"
.TypeParagraph
End With