A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I'm sorry, but I don't understand where this would go.This is my recorded macro...
Cells.Select
Range("A112").Activate
Selection.Replace What:="?v=", Replacement:="/", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Range("A1").Select
End Sub
Thanks again,
I am not sure I am correctly understanding where you want to return to.
Do you want it to return to where the cursor was before running the macro because that is what I thought you meant and the comments after the lines of code indicate where the code goes in your macro.
Or maybe you want it to return to the first cell that had the value replaced or maybe the last cell that had the value replaced.
If you want it to return to the cell where it was before running the macro then the following line should be the first line to process in the macro
Set rngActiveCell = ActiveCell 'First line of code to run
Then the following line should be the last line in the macro.
Application.Goto rngActiveCell 'Last line of code to run