christypraveen
New Member
- Joined
- Apr 11, 2020
- Messages
- 19
- Office Version
- 2019
- 2016
- Platform
- Windows
Hi.
I need small help for msg box in Vba.
I have created so many macro button to search the item. I have used recording option to search the item. I need a VBA code for msg box when item not found...
my Vba is:
sub bottom 1_10
sheets(sheet2). select
Cells.Find (What:="search item name", After:=ActiveCell, Lookin:=xLFormulas, LookAt:=xLPart, SearchOrder:=xLByRows,Search Direction:=x1 Next, MatchCase:=False, Search Format:=False). Activate
end sub
help me VBA code for msg box when item not found using this code. Thanks in Advance
I need small help for msg box in Vba.
I have created so many macro button to search the item. I have used recording option to search the item. I need a VBA code for msg box when item not found...
my Vba is:
sub bottom 1_10
sheets(sheet2). select
Cells.Find (What:="search item name", After:=ActiveCell, Lookin:=xLFormulas, LookAt:=xLPart, SearchOrder:=xLByRows,Search Direction:=x1 Next, MatchCase:=False, Search Format:=False). Activate
end sub
help me VBA code for msg box when item not found using this code. Thanks in Advance