A family of Microsoft relational database management systems designed for ease of use.
Hi John,
Ok, we are talking about two things here. If you are going to manually update the workbook, then you can use Application.Followhyperlink. But, as I said, if you want to programmatically modify the workbook, you have to continue to use Office Automation.
So you start off with
Dim objExcelApp As Excel.Application
Dim wb As Excel.Workbook
Set objExcelApp = Excel.Application
Set wb = objExcelApp.Workbooks.Open(selectedfile)
objExcelApp.Visible = True
So now you would want to do something like:
wb.Worksheets.Rows("1:4").Delete Shift:=xlShiftUp
You have to preface your Excel VBA commands by the variable set as the workbook. You might want to read up more on Office Automation with Excel.