Search results

  1. N

    Open Stencil "Favourites" Programmatically - Visio VBA

    Hey guys, I am trying to open a Visio stencil that I have saved ( "Favourites.VSS") when I open a new Visio file programatically. Currently when I open the new visio file, the favourites are not displayed and therefore some of the shapes I have saved in favourites cannot be rendered onto the...
  2. N

    Access to Visio Terminator Drawing Error

    The full module is below: Option Compare Database Function GenerateVisioDiagrams(FlowIDs() As Integer, FlowType As String) 'Generate process or data flow diagram in Visio Dim FlowName As String Dim rs As Recordset, rs1 As Recordset, rs2 As Recordset Dim i As Integer, j As Integer...
  3. N

    Access to Visio Terminator Drawing Error

    Apologies, Dim AppShapes(1000, 1000) As Visio.Shape 'Draw frame Call Diagram.DrawRectangle(0, PageHeight, PageWidth, 0) 'Draw header Dim Header As Visio.Shape Set Header = Diagram.DrawRectangle(0, PageHeight, PageWidth, PageHeight - HeaderHeight)...
  4. N

    Access to Visio Terminator Drawing Error

    This specific line: Set AppShapes(i, j) = Diagram.Drop(VisioApp.Documents.Item("BASFLO_M.VSS").Masters.ItemU(ElementTypesInSwimlane(i)(j)), ElementOffset + j * ElementWidth * ElementPadding + SwimlaneTitleWidth + ElementWidth / 2, PageHeight - HeaderHeight - (i + 0.5) * SwimlaneHeight)
  5. N

    Access to Visio Terminator Drawing Error

    Hey guys! :) I have an error when trying to programatically create visio drawings from Access. I get a runtime error : Object name not found. This seems to happen when I try to create a visio flowchart that has the 'terminator' element. when the flowchart only has the 'process' shape I recieve...
Back
Top Bottom