m***@gmail.com
2014-09-02 13:40:08 UTC
Hi All,
I have been using the script below to open a particular sheet in an excel file. I then use the dins command to locate a part number so I can add a date to the row.
This is he script I use
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 want the script which is a shorcut on the desktop to present an input box "Enter part number" and when the part number is entered to open the above spreadsheet at sheet 2 and locate the part number entered in the input box.
Specifically i want to be taken to a call in column R in the same row as the located part number.
So for example if I had a part number of 12345 in CELL B3 then i would want the active cell to be R3 where I could enter the date.
I am sure once I achieve this I will expand but this would be a great start.
Any help appreciated.
regards Russ
I have been using the script below to open a particular sheet in an excel file. I then use the dins command to locate a part number so I can add a date to the row.
This is he script I use
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 want the script which is a shorcut on the desktop to present an input box "Enter part number" and when the part number is entered to open the above spreadsheet at sheet 2 and locate the part number entered in the input box.
Specifically i want to be taken to a call in column R in the same row as the located part number.
So for example if I had a part number of 12345 in CELL B3 then i would want the active cell to be R3 where I could enter the date.
I am sure once I achieve this I will expand but this would be a great start.
Any help appreciated.
regards Russ