i am currently trying to make a VBA function that replaces placeholders in a string with a value on an excel spreadsheets.
I'd like it to be able to take any number of placeholders, for example:
{} are not {}.
input values for the function: Dogs, Cats
Therefore, the function would return : {dogs} are not {cats}.
Does anyone have any pointers as to how to set this up? New to VBA, any help is appreciated!
I'd like it to be able to take any number of placeholders, for example:
{} are not {}.
input values for the function: Dogs, Cats
Therefore, the function would return : {dogs} are not {cats}.
Does anyone have any pointers as to how to set this up? New to VBA, any help is appreciated!