fiogf49gjkf0d I've answered my own question - Yes I can
Dim xlApp Dim xlBook Dim szResult
Set xlApp = CreateObject("Excel.Application") Set xlBook = xlApp.Workbooks.Open("U:\SLXTest.xlsm")
szResult = xlApp.Run("SLXTest.xlsm!SLXCheck", edtnumberfield.Text) MsgBox szResult
xlBook.Close False Set xlBook = Nothing xlApp.Quit Set xlApp = Nothing |