Hi All,
Currently I am working on some tooling for PowerPoint and I need to be able to transfer the name and dimensions (when another element is selected by the user) from the current selection to the open (loaded and visible) userForm (frmDimenions).
GetSetDimensions_PP_m..png
I already figured out it should be possible with the WindowSelectionChange(ByVal Sel As Selection) event, for which I put code in a class module:
GetSetDimensionsMods_PP_s.PNG
Code to get dimensions back from Slide:
So far so good, but I can't figure out where to put the App_WindowSelectionChange procedure...
In Excel I'd put it in the sheet or ThisWorkbook module, but in PowerPoint there is no module for the Presentation or Slide object.
I've tried it in the modOwnCode and in the frmDimensions (already less likely, I thought), but I don't get the dimensions back (tested with debug.print to immediate window too).
Any suggestions?
Grtz BartH
PS
I just thought I had it by putting the code into the Class module but this doen't do it too..
Bookmarks