I recently converted my office PC from standalone WinXP and Office 2007 to Windows 8.1 and Office 2013 running in VirtulaBox on a Windows 7 host ... that's the content of another post in-the-writing ...
Having got everything working as I wanted, I went to run one of my VB automated Word templates but low-and-behold it threw an error on the first selection.find.execute statement it encountered.
To cut a long story short, I found web articles detailing the necessity to include the line of code which says:
ActiveWindow.View.ReadingLayout = False
This seemingly fixed the problem when I added it right at the start of my code
WRONG !
As soon as I finished updating the code and put the document back into Read-only the error raised its ugly head again.
Again for brevity, the solution was to go into Word's File - Options and uncheck the option
"Open email attachments and other uneditable files in reading view" as per this MS article
User feedback for Technology Tamed "Useful Links" page and expansion of Twitter tweets -- To leave a comment, click one of the the "comments" links above a post; Enter your text; -- If you're not a registered Blogger, select "Other" and leave your name; Preview then Publish your comment.
Showing posts with label VBA. Show all posts
Showing posts with label VBA. Show all posts
Tuesday, 13 October 2015
Tuesday, 23 April 2013
Got an MS Access automation question?
Can't get an Access form or formula to work?
Cant' get some Access VBA right?
Got a database problem to solve but can't quite figure out how to go about it?
Want to do some fancy Access forms, fields or lookups?
I use VBA extensively, to perform some fairly complex system integrations and automation of data Extracts, Transforms, Loads and Informs, using Access, Excel, Word, Outlook and a range of legacy applications.
Ask your question in the comments and I'll see if I can solve it for you.
Excel questions here
Saturday, 20 April 2013
Got an Excel automation Question?
Can't get an Excel formula to work?
Cant' get some Excel VBA right?
Got a spreadsheet problem to solve but can't quite figure out how to go about it?
Want to do some fancy Excel filters, lookups or formatting?
I use VBA extensively (and an occasional recorded macro!), to perform some fairly complex system integrations and automation of data Extracts, Transforms, Loads and Informs, using Excel, Access, Word, Outlook and a range of legacy applications.
Ask your question in the comments and I'll see if I can solve it for you.
MS Access questions here
Subscribe to:
Posts (Atom)