Hyperlinking in Powerpoint

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
 
M

Michelle Bryant

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top