Hi guys,
I am getting a very strange error message . My code has been working fine without any issues for years but now I keep getting this error message. The error comes when I try to extract data from access form to the word document . Please see below the code:
Any help will be much appreciated . Thanks
I am getting a very strange error message . My code has been working fine without any issues for years but now I keep getting this error message. The error comes when I try to extract data from access form to the word document . Please see below the code:
Code:
Dim wa As New Word.Application
Dim wd As Word.Document
Dim bk As Word.Bookmark
With wa ' Error is coming at this line
.Visible = True
.Activate
.ScreenUpdating = False
End With
Any help will be much appreciated . Thanks