Hi
I have created a macro that is set to follow a hyperlink to a folder named, c:\products\Weight&Dimensions. My macro seems to stop at the '&' sign, causing an error as it is looking for a folder called c:\products\Weight.
I can't remove the ampersand, so how can I get Excel to understand that the ampersand is part of the string?
I have tried
Any help would be greatly appreciated.
I have created a macro that is set to follow a hyperlink to a folder named, c:\products\Weight&Dimensions. My macro seems to stop at the '&' sign, causing an error as it is looking for a folder called c:\products\Weight.
I can't remove the ampersand, so how can I get Excel to understand that the ampersand is part of the string?
I have tried
Replace("c:\products\Weight&Dimensions", "&", Chr(38))
and I have also tried, Replace("c:\products\Weight&Dimensions", "&", ""&"")
but these haven't worked.Any help would be greatly appreciated.