Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)

 diane9410 20Aug2009 19:05

I regularly send hyperlinks on our network to customers. I don't want to type the address every time so I wrote a macro that I can copy and paste into the hyperlink. This macro will not work in the Microsoft 2007. Here is an example: ""\\adam\". All I want is a string that prints "\\adam\. This will not work because of the " and \.

Does anyone have a solution.? :crazy:

 nimesh 23Aug2009 02:53

please post your vba macro so that someone can look at it.
do you get any error while using it?

 diane9410 24Aug2009 17:31

All I want the macros to do is type the above statement: ""\\adam\". This works when written in Word 2007. It does not work when recorded in Outlook 2007. It ignores the first " so I get: \\adam\"

 nimesh 24Aug2009 21:35

oh.. then use this

I think this should work

 diane9410 24Aug2009 22:29