在Powerpoint VBA中跟踪超链接

在Powerpoint VBA中跟踪超链接,vba,hyperlink,powerpoint,Vba,Hyperlink,Powerpoint,我目前正在VBA中的Powerpoint宏中使用此代码来启动带有URL的浏览器: ActivePresentation.FollowHyperlink Address:="http://www.participoll.com/faq/", NewWindow:=True, AddHistory:=True 但这仅在有活动演示时有效。我想执行或调用浏览器来打开超链接,即使没有演示文稿。是否有上述代码的替代代码 提前谢谢 而不

我目前正在VBA中的Powerpoint宏中使用此代码来启动带有URL的浏览器:

ActivePresentation.FollowHyperlink Address:="http://www.participoll.com/faq/", 
                                   NewWindow:=True, AddHistory:=True
但这仅在有活动演示时有效。我想执行或调用浏览器来打开超链接,即使没有演示文稿。是否有上述代码的替代代码


提前谢谢

而不使用外部dll库

Shell "cmd /C ""start http://www.participoll.com/faq/"""
我们也应该这样做

问候


Axel

您还可以添加无窗口演示文稿,然后在完成后将其关闭:

Dim oPres As Presentation

Set oPres = Presentations.Add(msoFalse)

oPres.FollowHyperlink Address:="http://www.participoll.com/faq/", NewWindow:=True, AddHistory:=True

oPres.Saved = msoTrue
oPres.Close

@我不知道你的非管理员权限允许你做什么。最好的办法是自己试试:)对我来说,会的。你试过了吗?有什么问题吗?如果是这样,请告诉我问题所在。当然@AxelRichter!谢谢