I have a pdf form and Acrobat Pro installed on my machine. In MS Access I can write VBA code to open the form and fill out the fields. But I cannot figure out how to adjust the font size of a field (or other properties like color) using VBA.
Here is a snippet:
Dim oAVDoc As Object, oPDDoc As Object Dim oJso As Object, oFld As Object Set oAVDoc = CreateObject("AcroExch.AVDoc") oAVDoc.Open("C:\Temp\test.pdf", "") Set oPDDoc = oAVDoc.GetPDDoc Set oJso = oPDDoc.GetJSObject Set oFld = oJso.getField("TestFieldName") oFld.Value = "This is the new value." '<-- works fine oFld.FontSize = 14 '<-- "Object doesn't support this property or method" oFld.Color = "red" '<-- also does not work
Thanks in advance.