Hi guys,
Thanks for last help.
Now I have two question for same code.
Question1:
I have a following code in vb.
Private Sub CommandButton1_Click ()
Sheet1.Range ("j13").Value = Application.WorksheetFunction.Search ("DBDS6", [i13])
End Sub
When I press command button its works perfectly.
Now I want to apply same formula in my range from [j13] to[j50] with reference of [i13] to [i50].
Something like here below.
Sheet1.Range ("j13").Value = Application.WorksheetFunction.Search ("DBDS6", [i13])
Sheet1.Range ("j14").Value = Application.WorksheetFunction.Search ("DBDS6", [i14])
Sheet1.Range ("j15").Value = Application.WorksheetFunction.Search ("DBDS6", [i15])
Sheet1.Range ("j16").Value = Application.WorksheetFunction.Search ("DBDS6", [i16])
Sheet1.Range ("j17").Value = Application.WorksheetFunction.Search ("DBDS6", [i17])
.
.
.
.
.
.
Sheet1.Range ("j50").Value = Application.WorksheetFunction.Search ("DBDS6", [i50])
Now I want this as a short program. Please help me.
Now
Question2:
I want to search multiple name from row(‘s) of column “I” using some code, my above code search only for product “DBDS6”,
I want function to search more name as below.
i.e “KPK6”
“DBDS6”
“MNB6”
“FGR6” etc….
Please tell me is it possible??? If yes then please help me
Thank you.
Thanks for last help.
Now I have two question for same code.
Question1:
I have a following code in vb.
Private Sub CommandButton1_Click ()
Sheet1.Range ("j13").Value = Application.WorksheetFunction.Search ("DBDS6", [i13])
End Sub
When I press command button its works perfectly.
Now I want to apply same formula in my range from [j13] to[j50] with reference of [i13] to [i50].
Something like here below.
Sheet1.Range ("j13").Value = Application.WorksheetFunction.Search ("DBDS6", [i13])
Sheet1.Range ("j14").Value = Application.WorksheetFunction.Search ("DBDS6", [i14])
Sheet1.Range ("j15").Value = Application.WorksheetFunction.Search ("DBDS6", [i15])
Sheet1.Range ("j16").Value = Application.WorksheetFunction.Search ("DBDS6", [i16])
Sheet1.Range ("j17").Value = Application.WorksheetFunction.Search ("DBDS6", [i17])
.
.
.
.
.
.
Sheet1.Range ("j50").Value = Application.WorksheetFunction.Search ("DBDS6", [i50])
Now I want this as a short program. Please help me.
Now
Question2:
I want to search multiple name from row(‘s) of column “I” using some code, my above code search only for product “DBDS6”,
I want function to search more name as below.
i.e “KPK6”
“DBDS6”
“MNB6”
“FGR6” etc….
Please tell me is it possible??? If yes then please help me
Thank you.