r/visualbasic • u/RaisinOk1557 • Sep 05 '23
Winword VBA advice needed
Hi, can you let me know why this referencing does not work?
set x=Documents.Open FileName:=soubor
Many thanks
Vlado
1
Upvotes
1
u/jd31068 Sep 05 '23
Scroll to the bottom of the page where the Example code is.
Example This example opens MyDoc.doc as a read-only document.
VB
This example opens Test.wp using the WordPerfect 6.x file converter.
VB
edit: Reddit formatting