Quantcast
Channel: Outlook IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 33562

Outlook Hyperlinks with extensions

$
0
0

How do I insert a hyperlink with a /cmd "test" suffix. Outlook doe not like spaces and changes the / to \.  

I am creating mail using access VBA.

This works in a shortcut: "C:\Documents and Settings\CSA REPORTS\CFE_Sight_Validation_Inconsistency.accdb" /cmd 199

This is the VBA code I'm trying:

strBody = "Please Review Validation Discrepancy Form number: " & strRecNo & "" _
& " at: C:\Documents and Settings\CSA REPORTS\CFE_Sight_Validation_Inconsistency.accdb /cmd" & strRecNo

The link is created and works if I stop at  accdb , but I can't make it accept the /cmd 199

This is my first post, so I hope the format is okay.

Thanks,

John


Viewing all articles
Browse latest Browse all 33562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>