ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   find (https://www.excelbanter.com/excel-programming/381431-re-find.html)

Bernie Deitrick

find
 
Zaahir,

Worksheets("SheetName").Cells.Find(UserForm1.Combo Box1.Text).Clear

Or

Worksheets("SheetName").Cells.Find(UserForm1.Combo Box1.Text).ClearContents

Or

Worksheets("SheetName").Cells.Find(UserForm1.Combo Box1.Text).Resize(1,10).Delete

HTH,
Bernie
MS Excel MVP


"Zaahir" wrote in message
...
Hi

my combobbox is populated with data off a sheet. i'v tried recording a macro
to capture the code for using Find.....

i want to use this so that info can be deleted off the sheet by selecting
from the combobox and clicking cmddeleteEntry......
macro recording doesn't capture the Find execution......
how can i achieve my goal?
Please Help!!!
regards!!!!!





All times are GMT +1. The time now is 11:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com