Return to site

Contoh program dengan visual foxpro forum

broken image
broken image

Now, just don't set the text cursor at the place to write to and manually write something, that macro recording would be quite useless, record a search&replace.

broken image

You may even record opening the document and saving it as whatever filetype you want and get the necessary fileformat constant (here using 17 for PDF), at least the constant name you then may lookup here. LoDocument.SaveAs('C:\Vouchers\xyz.pdf',17)

broken image

LoDocument = ('C:\WordTemplates\Voucher.dotx') LoWord = CreateObject('Word.Application')