To remove funky newline characters after exporting data from Access, I have the following line of VBA.
Cells.Replace What:=vbCr, Replacement:="", LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False
I am creating a command button and placing the code there. I would prefer to avoid messing with vba every time I want to execute the replace. Is there an easier way to do this? The main interest is allowing the user to use the replace functionality without having to mess with vba.
I am open to vb scripts as well, as I could kick that off without the user knowing.
Let me know if you have thoughts.
Thanks
Blair
Cells.Replace What:=vbCr, Replacement:="", LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False
I am creating a command button and placing the code there. I would prefer to avoid messing with vba every time I want to execute the replace. Is there an easier way to do this? The main interest is allowing the user to use the replace functionality without having to mess with vba.
I am open to vb scripts as well, as I could kick that off without the user knowing.
Let me know if you have thoughts.
Thanks
Blair