The goal is to replace all the occurrences of "*** HH:MM:SS " - (3 asterisks followed by a space followed by the time hrs:mins:secs followed by a space) with " ~ HH:MM:SS " (a single tilde followed by a space followed by the same time followed by a space)
The problem is there are also multiple occurrences of the 3asterisks without the time following it that I do not want to replace.
This is an example of data in a single cell:
So, in the above single cell, I want to replace the following 3asterisks and time and a space with 3spaces, tilde and the same time and a space:
There are (6) other occurrences in this example cell of the 3asterisks that I do not want to replace.
This is what the above single cell would look like after the replacement happens:
Solution needs to be in VBA rather than a cell formula. Assume the column of data is in col 'A'. My failed attempted solutions either replaces all asterisks or replaces the original time wiping it out.
The problem is there are also multiple occurrences of the 3asterisks without the time following it that I do not want to replace.
This is an example of data in a single cell:
Code:
~ 17:35:28 15 AUG JENNIFER_HALL *** ||LIEN-RL| |RESOLVD| *** 09:11:33 14 AUG DEALEREXAM *** ||LIEN-RL| Aug07-(Esta) CUST ORDERED LIEN RELEASE *** 09:11:23 14 AUG DEALEREXAM *** ||IM-FORM| Jul25-(Hall) NEED I.O.A FORM*** 09:11:19 14 AUG DEALEREXAM *** ||LIEN-RL| Jul25-(Hall) NEED L/R (PEOPLE'S FIRST LLC) -NO PAYOFF-MD TITLE IN DEAL-F*I MJ *** 16:02:20 31 JUL JUDY,_MARILYN *** BANK IS MAILING CUSTOMER LIEN RELEASE, WILL TAKE 7 TO 10 DAYS TO RECEIVE, CUSTOMER WILL BRING IT IN AS SOON AS HE RECEIVES IT. MJJ *** 09:47:32 22 JUL2014 lindsay JC-FI ESTABROOK,_LINDSAY *** $49821.78 H/C 7/30 *** 17:36:07 21 JUL JUDY,_MARILYN ***SENT TO ACCT ON 7/21/14
So, in the above single cell, I want to replace the following 3asterisks and time and a space with 3spaces, tilde and the same time and a space:
Code:
*** 09:11:33
*** 09:11:23
*** 09:11:19
*** 16:02:20
*** 09:47:32
*** 17:36:07
Replace above with:
~ 09:11:33
~ 09:11:23
~ 09:11:19
~ 16:02:20
~ 09:47:32
~ 17:36:07
There are (6) other occurrences in this example cell of the 3asterisks that I do not want to replace.
This is what the above single cell would look like after the replacement happens:
Code:
~ 17:35:28 15 AUG JENNIFER_HALL *** ||LIEN-RL| |RESOLVD| ~ 09:11:33 14 AUG DEALEREXAM *** ||LIEN-RL| Aug07-(Esta) CUST ORDERED LIEN RELEASE ~ 09:11:23 14 AUG DEALEREXAM *** ||IM-FORM| Jul25-(Hall) NEED I.O.A FORM~ 09:11:19 14 AUG DEALEREXAM *** ||LIEN-RL| Jul25-(Hall) NEED L/R (PEOPLE'S FIRST LLC) -NO PAYOFF-MD TITLE IN DEAL-F*I MJ ~ 16:02:20 31 JUL JUDY,_MARILYN *** BANK IS MAILING CUSTOMER LIEN RELEASE, WILL TAKE 7 TO 10 DAYS TO RECEIVE, CUSTOMER WILL BRING IT IN AS SOON AS HE RECEIVES IT. MJJ ~ 09:47:32 22 JUL2014 lindsay JC-FI ESTABROOK,_LINDSAY *** $49821.78 H/C 7/30 ~ 17:36:07 21 JUL JUDY,_MARILYN ***SENT TO ACCT ON 7/21/14
Solution needs to be in VBA rather than a cell formula. Assume the column of data is in col 'A'. My failed attempted solutions either replaces all asterisks or replaces the original time wiping it out.