title: Visio vba Connecting a dynamic connector to a connection point
body: <p>I'm having some troubles connecting a linked dynamic connector which actually connects to a pre-defined connection point instead of just connection to the top.</p>
  
  <p>My master has some text boxes at the left side and some at the right side. When I auto connect to those text boxes they all connect fine except the first and last one. Instead of connecting to the side like the others they connect to the top and bottom  in the middle of the box which ruins the visual effect. Even though there is a connection point defined at the side.</p>
  
  <p>I have been looking at using GlueTo to connect manually to the connection point but I can't figure out how to adress the connection point.</p>
  
  <pre><code>Set vsoConnectorShape = ActiveDocument.Masters.ItemU("Dynamic connector")
  Set BoxShape = ActivePage.Shapes(i)
  Set DevShape = ActivePage.Shapes(j)
  
  NewRow = DevShape.AddRow(visSectionConnectionPts, visRowLast, visTagDefault)
  DevShape.CellsSRC(visSectionConnectionPts, NewRow, visX).Formula = "Width*0"
  DevShape.CellsSRC(visSectionConnectionPts, NewRow, visY).Formula = "Height*0.5"
  
  DevShape.AutoConnect BoxShape, visAutoConnectDirLeft, vsoConnectorShape
  </code></pre>
  
  <p>So my actual question would be how do i connect to a connection point instead of the shape itself?</p>