Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Add Formatted Text to a Word DocumentContent of Add Formatted Text to a Word Document.vbsMD5 Hash: 7D5D3EFD7148227DF7F55CB51C3DF2EF |
||
' Description: Demonstration script that displays formatted data in a Microsoft Word document.
Set objWord = CreateObject("Word.Application") objWord.Visible = True Set objDoc = objWord.Documents.Add() Set objSelection = objWord.Selection objSelection.Font.Name = "Arial" objSelection.Font.Size = "18" objSelection.TypeText "Network Adapter Report" objSelection.TypeParagraph() objSelection.Font.Size = "14" objSelection.TypeText "" & Date() objSelection.TypeParagraph() | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |