AnsweredAssumed Answered

macro to open specific excel file from solidworks

Question asked by Ray Abarca on Feb 20, 2008
Latest reply on Jul 14, 2008 by Jordon Musser
I am a newbie to writing macros so any help will be great. I figured out how to write a macro to open excel from Solidworks. But I'm having trouble opening a specific file. What I have so far is:

Dim ExcelApp As Excel.Application
Dim swApp As Object

Sub main()
Set ExcelApp = CreateObject("Excel.Application")
ExcelApp.Visible = True
Workbooks.Add
ActiveSheet.DisplayRightToLeft = False

End Sub



Like I said, I'm very new to all this so basically any help would be great! thanks

Outcomes