Forum FlexPro – Discuss your topic!

Open Axis-Dialog

Home > Community > Automation and VBA > Open Axis-Dialog

  • Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 15 Jahren von Anonym aktualisiert.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Autor
    Beiträge
  • #8062
    Anonym
    Gast

    Hello,
    I look for a possibility to open the axis-dialog via VBA. Is there a possibility to open FlexPro-dialogs via VBA?
    I need this functionality, because I would like to open the dialog for one diagramm and copy the settings to all selected diagrams.

    #8583
    Bernhard KantzBernhard Kantz
    Teilnehmer

    This is not possible with VBA. But you don’t need to open a dialog to copy the properties of the diagram.

    Example:

    
        Dim oDiag1 As Diagram2D
        Dim oDiag2 As Diagram2D
        '...
        With oDiag2
            .YAxes(1).Scaling.StartValue = oDiag1.YAxes(1).Scaling.StartValue
            .YAxes(1).Scaling.EndValue = oDiag1.YAxes(1).Scaling.EndValue
            '...
        End With
    

    support@weisang.com

    #8584
    Anonym
    Gast

    Hello,
    thanks for the fast answer. But my problem is not copy the values from one diagramm to another. I would like to give the user the possibility to change the axis-settings in the first diagramm of a selection and copy these settings to the other selected diagramms. If it is not possible to open the dialog I must create an userform with the main axis-settings.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.