After installing Office 365 my application code in vba is not working anymore
Set wrd = GetObject(, "Word.Application")
wrd.Visible = True
wrd.Documents.Open "C:\My Documents\Temp.doc"
Set wrd = Nothing
Does someone has any ideas
It does'nt recornize Office 365 with this code above but if i install Office 2016 or 2013 it works.
I don't know if it's just a markdown error on your part, but your code needs to separate lines:
If this doesn't help, maybe you can be more precise about the error you're getting?
SOLVED !
Thanks to @pavanc
It was called Word.Application.16 instead of Word.Application