Hi!
I'm creating an OLE automated VBA script (via word).
What im trying to do is to OLE automate jetform, and insert values from my userform in wrod into jetform forms.
writing an OLE based script was a bit harder than I could imagine.
Im using this code to open a file.
Anyone knows hot to insert values into the fields?
Ive been trying loads of combinations by going through the reference library..
/Carl
I'm creating an OLE automated VBA script (via word).
What im trying to do is to OLE automate jetform, and insert values from my userform in wrod into jetform forms.
writing an OLE based script was a bit harder than I could imagine.
Im using this code to open a file.
Anyone knows hot to insert values into the fields?
Ive been trying loads of combinations by going through the reference library..
Code:
Sub superjetform()
Dim jetform As Object
Dim filnamn As String
Dim oFillerApp As filler.Application
Dim oJetSubForm As filler.Subform
Dim oJetForm As filler.Form
Dim oField As filler.Field
'arbetsgivareförfrågan
filnamn = "O:\FBF\Förfrågan" & " " & "arbetsgivare.jdt"
Set jetform = CreateObject("Filler.Application")
jetform.Visible = True
filler.Forms.Open (filnamn)
/Carl