Open File

T

Thijs Schoemaker

Is it possible to open a file (for example c:\test.txt.) using vba code? The
string to this file is saved in a SQL database, all I need is a function
that open this file , when I have visio allready open.
 
I

Iwan van Ee

Hello Thijs,

In VBA you can use the command 'open'. But do you want to do with the file
after that? If it is a Visio file and want to open this in Visio use the
command:
application.documents.open 'nameofthefile.vsd'
or
application.documents.openex

Groeten,
Iwan van Ee
Ravelin
Visio Solution Provider
http://www.ravelin.nl
http://www.grade.nl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top