T
Taurus
Hello,
I have 2 separate application. One application is running excel report
using VBA. It contain the Let Prop(Key as string, value as variant).
Another application is an exe.
Currently, I would like to write a code in exe to invoke the let prop
in the excel report. Because the let property is the parameter get pass
in order to run the report.
I am able to open the workbook but unable to invoke
Public Property Let Prop(ByRef Key as string, ByRef value as variant)
Select Case Key
Case "apple"
set gen = value
End select
End sub
in the excel workbook. How should I do that?
In the exe the code I have is as following code.
dim oExcel as new excel.application
dim oExcel1 as new excel.application
Set oExcel = VBA.CreateObject("Excel.Application")
oExcel.open<XLS>
set oExcel2 = oExcel.ActiveWorkBook
I would like to invoke the Let Property in the excel from exe. What is
the correct syntax?
Excel2.Prop("Key") = Value
Thank you if anyone could give me some feedback
I have 2 separate application. One application is running excel report
using VBA. It contain the Let Prop(Key as string, value as variant).
Another application is an exe.
Currently, I would like to write a code in exe to invoke the let prop
in the excel report. Because the let property is the parameter get pass
in order to run the report.
I am able to open the workbook but unable to invoke
Public Property Let Prop(ByRef Key as string, ByRef value as variant)
Select Case Key
Case "apple"
set gen = value
End select
End sub
in the excel workbook. How should I do that?
In the exe the code I have is as following code.
dim oExcel as new excel.application
dim oExcel1 as new excel.application
Set oExcel = VBA.CreateObject("Excel.Application")
oExcel.open<XLS>
set oExcel2 = oExcel.ActiveWorkBook
I would like to invoke the Let Property in the excel from exe. What is
the correct syntax?
Excel2.Prop("Key") = Value
Thank you if anyone could give me some feedback