ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Replace text given a value in other cell (https://www.excelbanter.com/excel-programming/317118-replace-text-given-value-other-cell.html)

teuscher1

Replace text given a value in other cell
 

Dear All,

I wonder if could kindly help me :confused: .

I need a Macro that can replace the text in a cell, only if the valu
of another cell to the right (for example) has the text "WBG".

In other words.

If the cell A1="WGB" then B1="Winning the Brain Game"

Or

If the cell B1="5" then A1="Problem solved"

Many thanks in advance

Carlo

--
teuscher
-----------------------------------------------------------------------
teuscher1's Profile: http://www.excelforum.com/member.php...fo&userid=1658
View this thread: http://www.excelforum.com/showthread.php?threadid=31443



All times are GMT +1. The time now is 05:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com