Hi All, I would like to create a Vbs script and have it present an input box to the user and then open a set excel document, and go to a set TAB and then go to the a specific cell in relation to the input.
I started with the below script which opens the excel spreadsheet and takes me to sheet 2 and cell R1820 but would like to add a prompt for the user to enter a part number which would then open the sheet and go to the date cell related to the user input. The user input would locate the part number in column B and then make active the cell in the same row at column R.
Set objXl = CreateObject("Excel.Application")
Set ObjWB = objXl.Workbooks.Open("\\MSSLGBDC01\MSSLGBUserData\Shared Project Data\Project Tracking.xlsm")
objXl.Goto ObjWB.Sheets(2).Range("r1820")
objXl.Visible = True
I have seen the following script used in a similar way but I am unable to adapt it. Any help would be greatly appreciated.
Application.Dialogs(xlDialogFormulaFind).Show
regards Russ
Bookmarks