Message 1 of 3
how can i write from an iam to an embedded excel of an ipt with i-logic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I would like to write values from the iam to an embedded Excel in an ipt with an I Logic rule. The ipt is integrated in the iam.
It should work like transferring fx parameters of iam into an ipt with i logic.
Here is the example for fx paramter. I need the same for "GoExcel.CellValue("3rd Party:Embedding 1", "Sheet1", "A2")"
Sub Main() Dim Suche As String Dim zz As Integer Dim zDa1 As Double zDa1=KDa1 'Uebertragung der Werte auf das Bauteil: For zz = 2 To 9 Suche = "-HMP0" + CStr(zz) oDoc=ThisDoc.Document Dim oComp As ComponentOccurrence For Each oComp In oDoc.ComponentDefinition.Occurrences If InStr(oComp.Name, Suche) Then oCompName=oComp.Name 'Fx-Parameter Parameter(oCompName, "Da1") = zDa1 Exit For End If Next Next End Sub