I've in the past used the following to access the objects of the current graphic:
Dim picCurrent As CFixPicture
' Assuming "CFixPicture" is your custom object representing the workspace application ' Set the active document's page to picCurrent (replace this with your application's object reference) Set picCurrent = Application.ActiveDocument.Page
Then i can use methods like ContainedObjects to search the graphic for objects to manipulate. But now, i want to search the actual script within the Worksppace Application Object and can not find a suitable method to do so. Perhaps I need to define a different type than CFixPicture. I could use CFixPicture to still search objects, but when I want to search the text, I can define a separate object.
I am trying to do the following. Step 1 requires i search the script, I have the code written aside from figuring out how to access the graphics script
'1. Find frszFPExpert "MODULE" '2. Identify which sub it is located in '3. get sub name minus "_Click()" '4. find object that contains name from 3. '5. find ps_DataSource within object '6. get current value of ps_DataSource minus "DVSYS." '7. Replace "MODULE" in 1. with current value from 6.
In reply to Cedric Dawnhawk:
In reply to TreyB: