5/25/2016 12:57 PM | |
Posts: 75 Rating: (18) |
Hello Wouter, you can do this using VBA (in Graphics Designer). Documentation and samples you'll find in chapter 5 of WinCC V7.3 Scripting: VBS, ANSI-C, VBA Hope this will help you. Regards |
This contribution was helpful to1 thankful Users |
5/26/2016 7:22 AM | |
Joined: 2/21/2014 Last visit: 3/14/2024 Posts: 652 Rating: (341)
|
Hi, with the line-> Application.Documents.Open ("C:\Users\Administrator\Desktop") - you are trying to open the folder, not the file. you need to work similar to the code I posted first time: FilePath = "C:\XYZ\FilesToExport\" 'write the folder path where files are stored. For customized objects, I have not never tried editing a customized object using VBA. however I think it is possible. go to section 3.4.4 (page 81) onwards. this section explains how to create a Customized object. you can use the "Destroy" method to un group the customized object, edit the individual objects and create the customized object again. but I am not sure it is as simple as it sounds Thanks, HarrY AttachmentVBA.pdf (272 Downloads) |
You can always use "Rate" and "To Thank" button to appreciate my efforts in helping you :) |
|
This contribution was helpful to1 thankful Users |
Follow us on