Hi simple one
I am trying to open a named excel file from Access ( both 2016 )
I have this Code
I get a debug with "Application.Visable = True" highligted ?
can anyone help - either correcting my code or suggesting a better way!
I am trying to open a named excel file from Access ( both 2016 )
I have this Code
Code:
Function openexcelfromaccess()
Dim MyXL As Object
Set MyXL = CreateObject("Excel.Application")
With MyXL
.Application.Visable = True
.Workbooks.Open "S:\DATABASES\Goodsin2016\RDC\RDC_Schedule.xlsm"
End With
End Function
I get a debug with "Application.Visable = True" highligted ?
can anyone help - either correcting my code or suggesting a better way!