Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello Everyone,
I'm working on a userform which gathers the user's input and dumps the data into a spreadsheet. There is a portion in my code which if the data is already supplied I use the find method to locate and reinsert the data in the form. However; in testing it , I realize that I have to modify it in a way that it doesn't add the data pulled as a new record when updated and checks for any modifications and if any were made to keep that data vs. the original version. Dim rngFind As Range Set rngFind = Worksheets("Data").Range("D1:d500").Find(Me.txtBox .Value, Lookat:=xlWhole) If rFind Is Nothing Then MsgBox "Data has not been entered.", vbInformation Else Me.txtDes = rngFind.Offset(0, 1).Value Me.cmbCon = rngFind.Offset(0, -1).Value If anyone has any suggestions/guidance, I'd appreciate it. Regards, Jade |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
date find using find method | Excel Programming | |||
Using variables to make a date and using find method to find that. | Excel Programming | |||
Find method | Excel Programming | |||
Find method | Excel Programming | |||
Find Method question | Excel Programming |