Im having some difficulty generating documents from the system where certain information is missing. Im wondering if thre is an easy change I can make to my code, I can wrap everything in if statements but im sondering if there is an easier change i can make to this code to ignore it if its blank
In this case we do not know the "town" so the VBA stopps with type mismatch.Code:wrdApp.ActiveDocument.Bookmarks("Town").Select wrdApp.Selection.Text = rst("Address_3")
Thanks.