visio的vba编程 [英] vba programming for visio

查看:41
本文介绍了visio的vba编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我为 IVR(交互式语音响应)系统工作.要在 IVR 中添加服务,我必须在 visio 中制作由 IVR 系统卖家提供的预定义形状的流程.形状是在 VBA 中编程的.我决定学习 VBA 以修改预定义的形状.在谷歌搜索时,它显示了excel VBA编程的唯一结果.visio 也一样.请帮助我获取学习 MS VISIO 的 VBA 编程的源代码.因此,我可以添加用于自定义服务的新形状

Currently, I am working for IVR(Interactive Voice Response) System. To add the service in the IVR, I have to make the flow in the visio which have pre-defined shape provided by the seller of IVR SYstem. The shape is programmed in VBA. I decided to learn VBA for modification in the pre-defined shape. While searching in google, It shows the only results for excel VBA programming. Is it same for visio also. Please help me to get the source for the learning the VBA programming for MS VISIO. So, that I can add new shape for customizing the service

推荐答案

正如 Tim 指出的,Visio VBA 搜索中有很多好东西,但我也会添加一些链接.

As Tim points out there lots of good stuff on the Visio VBA search, but I'll add a few links as well.

语言 (VBA) 与您为 Excel 查找的语言相同.区别在于对象模型.Excel 处理工作簿、工作表和范围,而 Visio 处理文档、页面和形状.为了在自动化方面有用,您还需要在编写与此属性窗口"对话的代码时了解 ShapeSheet.

The language (VBA) is just the same as what you're finding for Excel. The difference is the object model. Excel deals with Workbooks, Worksheets and Ranges, while Visio deals with Documents, Pages and Shapes. To be useful at the automation side you also need to understand the ShapeSheet as you be writing code that talks to this 'properties window' alot.

我写了一个 '仅供初学者使用' 不久前为 Visio 开发新手发布的帖子,但其他好的资源如下:

I wrote a 'Just for starters' post a while ago for people new to Visio development, but other good resources are as follows:

...不是这样.以上任何博客,包括我的,都有其他博客和资源的列表,但暂时应该可以这样做.

...and that's not it. Any of the above blogs, mine included, have lists of other blogs and resources, but this should do you for the time being.

[2016 年 6 月 27 日更新 - 我将添加另一个资源,这可能对想要与 Visio 交互的开发人员有所帮助,这是我最近整理的一个由两部分组成的视频课程 - 'Visio,开发者的飞跃']

[Update 27th June 2016 - I'll add another resource which may be helpful for developers wanting to interact with Visio and that's a two-part video course I recently put together - 'Visio, a flyby for developers']

这篇关于visio的vba编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆