(1)| 5/24/2018 2:06 PM | |
|
Posts: 79 Rating:
|
Thank you bg2492 I wrote this script but did not answer please look at attachment file and tell what is wrong %%% Option Explicit Function action Dim objExcelApp Set objExcelApp = CreateObject("Excel.Application") objExcelApp.Visible = FalSE objExcelApp.Workbooks.Open "C:\Users\AUTOMAN\Desktop\Damavand_P2\P1.xlsx" Dim objStaticText Set objStaticText = HMIRuntime.Screens("B1").ScreenItems("TXT_TAG2") objStaticText.Text = objExcelApp.Cells(4,6) End Function |
| 5/25/2018 9:02 AM | |
|
Posts: 79 Rating:
|
Hello bg2492 Thank you yes i active Global script in runtime at startup menu and checked cycle trigger your script is true and i wrote this and and uploaded a photo in the previous post . but did not answer |
Last edited by: Alex_BHP at: 5/25/2018 9:04:01 AMLast edited by: Alex_BHP at: 5/25/2018 9:04:30 AM |
|
| 5/25/2018 12:42 PM | |
|
Joined: 10/24/2012 Last visit: 10/22/2025 Posts: 6 Rating:
|
Did you remove local static text script? |
Follow us on