Display HTML page in Office 2003 or 2007 task pane via VBA

☆樱花仙子☆ 提交于 2019-12-13 02:51:55

问题


Is it possible to display an HTML page in an Office 2003 and/or 2007 task pane via VBA?

Background: We have a complicated configuration file that our users maintain in Word (using a real editor is not an option for our audience).

We would like to create several toolbar buttons that display a basic HTML page in a task pane as a form of online help for our users.

The reason we want to use a task pane to display help (vs. an external browser or traditional help engine) is so that the help content is "embedded" in Word vs. displayed via a seperate application. The problem with using a regular browser or help engine to display help is that users have to manually size and position both applications so that they can see them simultaneously and its very easy to "lose" one application when togging between many applications.

We don't want to go down the route of writing a VisualStudio based task pane component - we want to keep things simple (KISS) and encapsulate everything in an easy to distribute Word template file (.dot or dotx.).

Suggestions?


回答1:


Yes it is possible, see this blog for detailed steps in creating the custom task pane in Excel 2007.

http://blogs.msdn.com/gabhan_berry/archive/2008/08/13/custom-task-panes.aspx



来源:https://stackoverflow.com/questions/2073929/display-html-page-in-office-2003-or-2007-task-pane-via-vba

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!