I use VBA in EXCEL to fill a word document with bookmarks.
At the end I would like to create and save a pdf of this word document.

I used this line:

```
.ExportAsFixedFormat2 ThisWorkbook.Path & "\" & sFileName & ".pdf", 17

```

It works for me, but for a friend she receives Runtime error 438.
I am using MS office 365, she uses MS office 2019.
Do you know how to make this line working for her also?

Looking forward to your help! Thanks in advance.