Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello Experts,
How do you replace each "Total" with the text that is located immediately below one line below an empty space? And how do you add a Message Box notification to either accept or override for each Replace action? [space] Payroll Contract Labour Employee Benefits [space] Total [space] Utilities Utilities - Electric Utilities - Gas [space] Total The result: Msgbox "Total" will be replaced by "Payroll". Option to "OK" to accept, "Cancel" to not do any replacing, "Override" to manually enter a new text. "Total" would become "Payroll" "Total" would become "Utilities" I've tried using the Replace function but I needed only code would work as each Replace is different. Thanks in advance, Ricky *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can I replace a ' at the beginning of a text cell using Replace | Excel Discussion (Misc queries) | |||
find text in cell and replace it with part of the text in that ce. | Excel Discussion (Misc queries) | |||
Replace using Do loop | Excel Programming | |||
Find & Replace / Loop & Vlookup | Excel Programming | |||
Replace Loop | Excel Programming |