Hyperlinking in Powerpoint

  • Thread starter Thread starter GlendaB
  • Start date Start date
G

GlendaB

Hi - when I create a hyperlink in Powerpoint to a Word
workgroup template, the link opens the template & not a
new document based on the template. The Microsoft KB
suggests a work around by creating a shortcut to the
template & using the shortcut as the hyperlink ....this
doesn't work either !! Any suggestions would be greatly
appreciated

Cheers
 
Hi Brenda

MS has confirmed that this is a known bug for which the KB posted workaround
doesnt work!
You need to remove the hyperlink and attach the following VBA script via a
Macro action setting.

(You'll need to edit the script to reflect the filepath of the .dot
template. )

Option Explicit
Public Declare Function ShellExecute _
Lib "shell32.dll" _
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

Sub WhatsUpDOT()
Dim DotFile As String
Dim lErr As Long
DotFile = "C:\"
lErr = ShellExecute(0, "NEW", DotFile, "", "", 0)
End Sub
 
Back
Top