Quantcast
Channel: Product Communities
Viewing all articles
Browse latest Browse all 105279

Forum Post: Re: VBA script to Open PDF

$
0
0

Open any Document using VBA

The example VBA project has been updated. The Open Office Document  example VBA project has been expanded to provide either a VBA UserForm to specify a file name and location, or it accepts a user keyin that specifies a full file path.  It no longer uses a DLL, but calls the Win32 API directly.

For example …

vba run [FileViewer2]modMain.OpenDoc "C:\My Documents\Example.docx"

Happy New Year! Jon Summers
LA Solutions


Viewing all articles
Browse latest Browse all 105279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>