SWETHAKHATRI88
New Member
- Joined
- Jul 29, 2022
- Messages
- 10
- Office Version
- 2021
- Platform
- MacOS
I am trying to write a VBA code where if there is a value called 1234 in Column A, a new row needs to be inserted above with a value. For all the new rows inserted, Columns A and B should be merged. Can anyone help with the code for the merge part?
My code is as below
WithCells.Find("1234")
.EntireRow.Insert
Cells(.Row-1,"A") = "1.TEST1234"
END WITH
Thanks
My code is as below
WithCells.Find("1234")
.EntireRow.Insert
Cells(.Row-1,"A") = "1.TEST1234"
END WITH
Thanks