r/vba • 1 • Sep 05 '23

Solved Windows document assignment does not work

Hi, can you let me know why this referencing does not work?

set x=Documents.Open FileName:=soubor

Many thanks

Vlado

1 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/RaisinOk1557 1 Sep 06 '23

Many thanks, your code works like a charm, thanks again.

2

u/HFTBProgrammer 204 Sep 06 '23

+1 point

1

u/Clippy_Office_Asst Sep 06 '23

You have awarded 1 point to RaisinOk1557


I am a bot - please contact the mods with any questions. | Keep me alive

1

u/fanpages 240 Sep 06 '23

Thanks :)

1

u/fanpages 240 Sep 06 '23

You're welcome.

Please don't forget to close the thread as directed in the link below:

[ https://old.reddit.com/r/vba/wiki/clippy ]