vba - Email body replace * with numbers -


i have email * , ** in body , check boxes in userform. if select check boxes, put in email body :

* text1 ** text2 ... * text24 ** text25 

when want reply want replace * 1,2,3.... , delete ** . thank you.

not quite sure mean 1,2,3 this...?

function removestars(strinput string) string      dim intcount integer     intcount = 1     stop     removestars = replace(strinput, chr(42) & chr(42), "")     while instr(removestars, chr(42)) <> 0         removestars = replace(removestars, chr(42), intcount, 1, 1)         intcount = intcount + 1     loop  end function 

Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -