开发者

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

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 onl开发者_开发技巧ine 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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜