Hi guys Could someone help me,
I use this the variable: FindCol_RowID="sv" (that is the search string the script looking for in a sheet)
then in the msgbox I get the ID of the cell
but could someone help me to
paste the cell + column into a new sheet on the same place?
See code below:
Dim FindCol_RowID As String
Dim aCell As Range
FindCol_RowID = "sv"
Set aCell = Sheet1.Rows(1).Find(What:=FindCol_RowID, LookIn:=xlValues, _
LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False)
If Not aCell Is Nothing Then
MsgBox "the Cell is" & aCell.Address
Thank you in advance