开发者

VBA Microsoft Visio document manipulating without opening the application

开发者 https://www.devze.com 2023-02-27 10:02 出处:网络
I am working on manipulating the Visio documents from the Visual Basic 6.0. User needs to choose the input visio document.

I am working on manipulating the Visio documents from the Visual Basic 6.0. User needs to choose the input visio document. I am using

Set appVisio = CreateObject("Visio.Application")
appVisio.Visible = False
开发者_开发技巧

Here the issue is, Visio Application is displaying to the user and in next line it is hiding, which makes screen flickering. Can we create the object without opening the visio application?


Use "Visio.InvisibleApp" instead of "Visio.Application" -- should work with Visio 2003 and later.

http://msdn.microsoft.com/en-us/library/aa175566%28v=office.11%29.aspx

0

精彩评论

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