79285792

Date: 2024-12-16 19:04:56
Score: 1.5
Natty:
Report link

myFinalCode:

Public Function func_1() As Double
'MS Access module

    Dim xlapp As New Excel.Application
    Dim wkb As Excel.Workbook
    Dim wks As Excel.Worksheet
    Dim arg1 As Double
    
    Set xlapp = CreateObject("Excel.Application")
    xlapp.Visible = True
    Set wkb =  xlapp.Workbooks.Open("C:\Book1.xlsm")
    arg1 = 100
    xlapp.Run "func_2", arg1

    'Thank you all very much!    

End Function
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: rhk123