K
Kas
I currently have a macro that runs in excel but is
accessed from a menu in Word. My problem is that there
are some .xla files that need to be run at startup with
Excel to integrate it with our document management
software. Is there a way I can get these .xla file to
load when the Excel object loads from Word? Below is the
macro that I have now:
Sub StartTimesheet()
Dim xlapp As Object
Dim Timesheet As Object
Set xlapp = CreateObject("Excel.Application")
Set Timesheet = xlapp.Workbooks.Add("c:\program
files\softwise\forms\timesheet.xls")
xlapp.Visible = True
Set xlapp = Nothing
Set Timesheet = Nothing
End Sub
Any help on this would be greatly appreciated.
accessed from a menu in Word. My problem is that there
are some .xla files that need to be run at startup with
Excel to integrate it with our document management
software. Is there a way I can get these .xla file to
load when the Excel object loads from Word? Below is the
macro that I have now:
Sub StartTimesheet()
Dim xlapp As Object
Dim Timesheet As Object
Set xlapp = CreateObject("Excel.Application")
Set Timesheet = xlapp.Workbooks.Add("c:\program
files\softwise\forms\timesheet.xls")
xlapp.Visible = True
Set xlapp = Nothing
Set Timesheet = Nothing
End Sub
Any help on this would be greatly appreciated.