Dear Experts,
I have a set of data in three worksheets and the macro i m using should run in three worksheets at a time from a single macro button in Sheet 1.
The data that I have needs to be extracted from Column 3 and separate the values in () in Column 4 and the values in [] in column 5 and at the same time Column 3 needs to be refreshed and shown without the separated values.
i posted this problem at https://www.excelforum.com/excel-pro...ml#post4631243 and Jindon gave me a solution as:
Sub test()
Columns(3).Copy Columns("b:c")
Columns(3).Replace "(*)", "", 2
Columns(3).Replace "[*]", "", 2
Columns(4).Replace "*(", "", 2
Columns(4).Replace ")*", "", 2
Columns(5).Replace "*[", "", 2
Columns(5).Replace "]*", "", 2
End Sub
But I can't make it happen for two other sheets at the same time. I wrote a code but its not working since I am novice and have very little idea about vb. I have not posted this problem in any other Forums. Thanks.
Bookmarks