i belive that i have same issue, where i had one main table, and most of the time i need to update some rows and colm, i crean an search page, but it is not working probaly , i need also help for the same , to update the code to have the folloing
serch by name and number, field , between dates ....and then allow me only to update particular column
pls find below code
Sub INQURY()
Sheets("Inqury").Select
ActiveSheet.Rows.Hidden = False
[A3:Ad1000].ClearContents
s = ""
s = Application.InputBox("What are you searchin for !", "Search")
If s = False Then Exit Sub
If s = "" Then Exit Sub
Application.ScreenUpdating = False
With Sheets("TRCK").[A4:AC1000]
Set MySearch = .Find(s, LookAt:=xlWhole)
If Not MySearch Is Nothing Then
F = MySearch.Address
MyRow = 4
Do
x = MySearch.Row
y = MySearch.Column
For MyColumn = 1 To 29
Sheets("Inqury").Cells(MyRow, MyColumn) = .Cells(x, MyColumn)
Next MyColumn
MyRow = MyRow + 1
Set MySearch = .FindNext(MySearch)
Loop While Not MySearch Is Nothing And MySearch.Address <> F
End If
End With
For A = 3 To 1000
If Cells(A, 5) = "" Then Rows(A).Hidden = True
Next
ActiveWindow.SmallScroll Down:=-100
Application.ScreenUpdating = True
If Application.WorksheetFunction.CountA([A3:AB100]) = 0 Then
MsgBox "Sorry ! No Data Found", vbExclamation, "Sorryð"
Bookmarks