Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now
Option Explicit Private Declare Function ShellExecute Lib "shell32" _ Alias "ShellExecuteA" _ (ByVal hwnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) As Long Private Const SW_SHOWNORMAL As Long = 1 Private Const SW_SHOWMAXIMIZED As Long = 3 Private Const SW_SHOWDEFAULT As Long = 10 Private Const SE_ERR_NOASSOC As Long = 31 Private Sub CommandButton1_Click() Dim ThisDoc as Document Dim strOurRefGuide As String Set ThisDoc = ActiveDocument strOurRefGuide = ThisDoc.AttachedTemplate.Path & "\OurRefGuide.pdf" Call ShellExecute(0&, "open", strOurRefGuide, 0&, 0&, SW_SHOWNORMAL) End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|VB6 - Cannot type when doing an extract from MSHFlexgrid to Excel||6||47|
|Preserve formatting during mail merge using VBA||18||93|
|please tell me how to disable autocomplete when I want a blank line||4||24|
|Excel Macro: Correct Macro that creates tabs for each "AccountSku"||4||44|
Join the community of 500,000 technology professionals and ask your questions.