I checked your code and the single click works perfect. Then, I realized that I needed to do some checking so I have been working with a different macro that I had help with and I have everything working except at the very end of the code. Can you give me the correct code to have cell A1 selected on the newly displayed workbook? None of the 3 rows of code at the bottom will do anything. I think it is because the new workbook is not activated, although it is open.
I want to thank you very much, as I have learned alot through this process. You've really been great.
'oXL is needed to open a new instance of Excel.
'Without it, the file is only opened as a new Window
'and I need all opened in a new instance of Excel.
'The following tests for a blank cell and ends processing
'The following tests for the existance of the file
'If the path or file is wrong, the processing ends.
'THIS LINE OF CODE OPENS THE NEW INSTANCE OF EXCEL.
'THIS LINE OF CODE MAKES THE NEW INSTANCE OF EXCEL VISIBLE.
'This opens the file in the variable . . . SetUpPathCell
'I'VE TRIED TO USE THE FOLLOWING 3 ROWS OF CODE, I HAVE TRIED TO ACTIVATE THE FILE AND THEN SELECT CELL A1.
'NATURALLY, I CAN'T MAKE IT WORK.
'SetUpPathCell.Activate
'Application.Goto Reference:="R1C1"
'Range("A1").Select
Thanks Again
Matt @ Launchnet
p.s. When I get this resolved, I will post the next similar question, but different. Just to let you know, I'm 76 so I have a good excuse for learning slow.
Bookmarks