Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Search In Sheet using macro
Hello,
I will explain my problem : I have a workbook with 3 sheet. I want to search if a value exist in one of the sheet, and if it exist I want it to say true, if not exist false. I need it by VBA macro, and not with Lookup. Thanks for you help, :D --- Message posted from http://www.ExcelForum.com/ |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Search In Sheet using macro
Try this slideman
Sub test() If Application.WorksheetFunction.CountIf _ (Sheets("Sheet1").Cells, "ron") = 0 Then MsgBox "False" Else MsgBox "True" End If End Sub -- Regards Ron de Bruin (Win XP Pro SP-1 XL2000-2003) www.rondebruin.nl "slideman " wrote in message ... Hello, I will explain my problem : I have a workbook with 3 sheet. I want to search if a value exist in one of the sheet, and if it exist I want it to say true, if not exist false. I need it by VBA macro, and not with Lookup. Thanks for you help, :D --- Message posted from http://www.ExcelForum.com/ |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Search In Sheet using macro
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Search a name in one sheet and entry it into another sheet | Excel Worksheet Functions | |||
search a value in W/sheet | Excel Discussion (Misc queries) | |||
Search for rows in one sheet and copy into another sheet based on customer id | Excel Worksheet Functions | |||
Search for a Sheet | Excel Discussion (Misc queries) | |||
search for a sheet | Excel Programming |