How would I change this code to open an existing Excel spreadsheet instead of new spreadsheet.
I struggle terribly trying to understand VB code , or any code. What would be the easiest way to modify,this code
below, to open an existing Excel spreadsheet instead
of a new spreadsheet.
Your help is greatly appreciated,
Private Sub Form_Load()
'Start Excel and open new spreadsheet
Set exlApp = New Excel.Application
exlApp.Workbooks.Add
Set exlWSheet = exlApp.Workbooks(1).Worksheets(1)
exlApp.Visible = True
exlRow = 1
exlCol = 1
I struggle terribly trying to understand VB code , or any code. What would be the easiest way to modify,this code
below, to open an existing Excel spreadsheet instead
of a new spreadsheet.
Your help is greatly appreciated,
Private Sub Form_Load()
'Start Excel and open new spreadsheet
Set exlApp = New Excel.Application
exlApp.Workbooks.Add
Set exlWSheet = exlApp.Workbooks(1).Worksheets(1)
exlApp.Visible = True
exlRow = 1
exlCol = 1