From: Ed on 3 Sep 2008 08:04 Because the text is sometimes longer than certain textboxes written to hold it, I frequently use VBA's CurLine and CurX to make sure that the user first sees the top line and first character of the displayed text. I first SetFocus to the object and then set the CurLine and CurX values to 0. It works fine in all settings (on dozens of computers), on all platforms, EXCEPT on one installation of Word2007. When that line of code is hit, the program stops and returns the error: "Could not set the CurLine property. Unexpected call to method or property access." This particular installation has Adobe 9 Pro Extended installed. Our suspicion is that it has something to do with that. But Adobe has locked itself up and we cannot remove the influence of A9PE by simply unchecking it as an Add-In (like we can do with every other add-in in the world). (This is reminscent of the problems caused by a very early version of Adobe's pdfmaker that messed up VBA programmers for a while.) Has anyone seen this behavior? Is there a workaround of which you are aware? --Ed (in Virginia)
|
Pages: 1 Prev: Return value from another form Next: How to clear all built-in document properties? |