FlexPro
HistoryBase
Ingénierie
Formation
Téléchargements
Support FlexPro
Connaissance
Communauté
À propos de nous
Références
Emplois
Contact général
Liste des revendeurs
Support FlexPro
FR
DE
EN
Porte-plaquette
Produits et solutions
Support et téléchargements
Entreprise
Magazine
Contact
Langue
MyWeisang

Paramètres du compte.

Topic

Recording Macros

Page d'accueil ' Communauté ' Généralités ' Macros d'enregistrement

Voir les messages de 3 - 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #34284
    tim@gci.org.uk
    Participant

    Thank you support for your help on the last question.

    I am now trying out the macro feature. I have to make two recordings, but they haven’t played back for me.

    1) I have 5 charts in a document. I select the first chart with my mouse. Then, using the “quick macro”, I press Ctrl+Shift+R, and record my actions. In this case it was to select right button click, select options, and then go into the dialogue boxes to deactivate (hide) the x-axis.
    When I finished with the dialogue boxes, I stopped the recording.
    I then selcted the second chart and pressed Ctrl+Shift+P to repeat the operation for it. This didn’t work.

    2) All five of my charts are driven by an excel workbook which I have imported into my database. If I make changes to the variables in my workbook and press the update all button, my charts all update.
    I want to record a macro that will increment the value in a cell of my excel workbook by 1, then “update all”, then export my document as a .jpg file. I want to use these images to make an animation.
    I am being stumped at the first hurdle however as the macro recorder doesnt let me make a change the value of a cell in the excel workbook.

    Any tips would be much appreciated.

    Many thanks,

    Tim.

    #34282
    tim@gci.org.uk
    Participant

    Thank you support for your help on the last question.

    I am now trying out the macro feature. I have to make two recordings, but they haven’t played back for me.

    1) I have 5 charts in a document. I select the first chart with my mouse. Then, using the “quick macro”, I press Ctrl+Shift+R, and record my actions. In this case it was to select right button click, select options, and then go into the dialogue boxes to deactivate (hide) the x-axis.
    When I finished with the dialogue boxes, I stopped the recording.
    I then selcted the second chart and pressed Ctrl+Shift+P to repeat the operation for it. This didn’t work.

    2) All five of my charts are driven by an excel workbook which I have imported into my database. If I make changes to the variables in my workbook and press the update all button, my charts all update.
    I want to record a macro that will increment the value in a cell of my excel workbook by 1, then “update all”, then export my document as a .jpg file. I want to use these images to make an animation.
    I am being stumped at the first hurdle however as the macro recorder doesnt let me make a change the value of a cell in the excel workbook.

    Any tips would be much appreciated.

    Many thanks,

    Tim.

    #34283
    Bernhard Kantz
    Participant

    1) We cannot reproduce this problem. If we start the recording AFTER selecting the diagram in the list view and stop recording BEFORE you select the next one, it works. The recorded code is for example:
    [code]
    ActiveDatabase.SelectedObject.XAxes(1).Divisions.Visible = False
    ActiveDatabase.SelectedObject.XAxes(1).Line.Visible = False
    ActiveDatabase.SelectedObject.XAxes(1).Labels.Visible = False
    [/code]

    2) The macro recorder cannot record any changes made inside excel. To do such job, you need to use FlexPro Professional and write the code yourself.

Voir les messages de 3 - 1 à 3 (sur un total de 3)
  • Vous devez être connecté pour répondre à ce sujet.