Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
Could someone please help me with the following: I wish to create a macro that does the following: Asks via InputBoxes for user input. 1. One InputBox asks for a Stockcode (a nine digit number) 2. The other InputBox asks for a Recommend Finalisation As (which will be either:WOC or BOC) The Stockcode needs to be validated to ensure that it is a number and has 9 digits. I have formatted the Stockcode column (column E) as Text, because many of our Stockcodes are preceded by zeros. Then a double-Lookup function to lookup the Stockcode in column E and the Recommend Finalisation As in column F. If there is a match, then to list it on a MessageBox. I need it to lookup the entire spreadsheet (named SA Register) because there may be more than one instance where a match will be found. Any help would be greatly appreciated, Kind regards, Chris. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Chris,
I was looking at your request. What do you intened to do with the inf once found? It problely would be easiser to use a userform for the fin function. Ive started a pgm using the userform. So if you let me kno what you want to happen I'll finish it and send it to you. Charle -- Message posted from http://www.ExcelForum.com |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Charles for your reply.
Fortunately, a couple of other kind people like yourself have solved m problem. Kind regards, Chris : -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Not at all clear on use of variables and/or object variables | Excel Discussion (Misc queries) | |||
Matching identical data using data only once in the matching proce | Excel Discussion (Misc queries) | |||
Help with Matching Text Fields - Then Moving the Matching Cells Side by Side | Excel Discussion (Misc queries) | |||
Three Variables | Excel Worksheet Functions | |||
Matching data and linking it to the matching cell | Links and Linking in Excel |