suhas_shah
New Member
- Joined
- Sep 23, 2006
- Messages
- 39
have a excel file having 3 different sheets.
Sheet 1 : Partmast
Sheet 2 : Submast
Sheet 3 : Entry
In sheet "Partmast" all Part Codes & Names are stored with column heading CODE and NAME
In Sheet "Submast" all Part Code with SubCodes are stored with column heading CODE and SUBCODE.
In sheet "Entry" i am entering the data in column A : Code, Column B : Sub Code.
I am validating the data by using vllokup and storing "T" in column C if the match is found and "F" if the match is not found.
If value of Column C in row is "F" on PRESS OF A BUTTON , it should populate a list box / drop down list of all related sub codes for the Code stored in the column A. The list should not include the sub codes not pertaining to Code stored in Column A
For reference i have attached the excel sheet.
Entry Sheet
Row Column A Column B Column C
CODE SUBCODE VALID
1 500001 4 T
2 500003 4 T
3 500004 2 T
4 500005 3 T
5 500001 45 F
6 500001 54 T
7 500001 67 T
8 500001 59 T
In above case Row 5 : Column C is "F" . Now user will press a button , which will populate a list box having all sub codes pertaining to CODE no. stored in the row i.e. Row 5 Column A = 500001
Sample submast data is as below
sUBMAST sHEET
COLUMN A COLUMN B
CODE SUBCODE
500001 44
500001 67
500001 4
500001 54
500001 59
500002 5
500002 65
500002 79
500003 4
500004 2
500005 3
Hope i have explained properly.
Can anyone help.
Thanks in advance
Regards
Suhas
Sheet 1 : Partmast
Sheet 2 : Submast
Sheet 3 : Entry
In sheet "Partmast" all Part Codes & Names are stored with column heading CODE and NAME
In Sheet "Submast" all Part Code with SubCodes are stored with column heading CODE and SUBCODE.
In sheet "Entry" i am entering the data in column A : Code, Column B : Sub Code.
I am validating the data by using vllokup and storing "T" in column C if the match is found and "F" if the match is not found.
If value of Column C in row is "F" on PRESS OF A BUTTON , it should populate a list box / drop down list of all related sub codes for the Code stored in the column A. The list should not include the sub codes not pertaining to Code stored in Column A
For reference i have attached the excel sheet.
Entry Sheet
Row Column A Column B Column C
CODE SUBCODE VALID
1 500001 4 T
2 500003 4 T
3 500004 2 T
4 500005 3 T
5 500001 45 F
6 500001 54 T
7 500001 67 T
8 500001 59 T
In above case Row 5 : Column C is "F" . Now user will press a button , which will populate a list box having all sub codes pertaining to CODE no. stored in the row i.e. Row 5 Column A = 500001
Sample submast data is as below
sUBMAST sHEET
COLUMN A COLUMN B
CODE SUBCODE
500001 44
500001 67
500001 4
500001 54
500001 59
500002 5
500002 65
500002 79
500003 4
500004 2
500005 3
Hope i have explained properly.
Can anyone help.
Thanks in advance
Regards
Suhas