VBA Microsoft Visio document manipulating without opening the application
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
精彩评论