T
TRM
I am getting the error, object variable/with block variable not set... I have
the oApp set. I don't understand why I'm getting this error. I have tried
setting oApp to the active document, and another variable.
Dim strFlowChart As String
strFlowChart = strPath & strDocName
Set oApp = CreateObject("igrafx.Application.8")
oApp.ActiveDocument.Diagrams.Item(strDocName).ActivateDiagram
oApp.PageLayout.LeftFooter = "&L" & "Approved Version: " & Revision
oApp.DefaultFilePath = "F:\SOP\PBFlowcharts\"
oApp.Save
oApp.Quit
the oApp set. I don't understand why I'm getting this error. I have tried
setting oApp to the active document, and another variable.
Dim strFlowChart As String
strFlowChart = strPath & strDocName
Set oApp = CreateObject("igrafx.Application.8")
oApp.ActiveDocument.Diagrams.Item(strDocName).ActivateDiagram
oApp.PageLayout.LeftFooter = "&L" & "Approved Version: " & Revision
oApp.DefaultFilePath = "F:\SOP\PBFlowcharts\"
oApp.Save
oApp.Quit