Hello, I m thinking about to buy your program, and testing a demo fersion. I have one issue I can’t to solve. My Excel program contains two files, one ms word and another ms Excel. Excel is the main file where I inpute values. Then by macros I export this values to Ms word document. All works great. Then if I compiled excel file to exe with add comparison file witch is my ms word file,macros can’t find ms word file inserted in exe… I tried to modify my code with yours xlspath function, but I can’t steel make my compiled exe find in himself added word file. If I add in the same exe file folder the original doc file, all works from exe, but Im trying to hide all my files in exe. Can you help me please?
part of code from excel
part of code from excel
t = PathToFile("Договор оценка ТС.docx") Set WA = CreateObject("Word.Application") Set WD = WA.Documents.Add(t)