Word - CurLine and CurX

Asked By Ed
03-Sep-08 08:04 AM
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)
Office 2007
(1)
Vista
(1)
Adobe
(1)
VBA
(1)
XP
(1)
SetFocus
(1)
CurLine
(1)
CurX
(1)
  Julian Ladbur replied...
21-Oct-08 06:09 AM
This has started happening on my usual work machine. I have tried to
reproduce it on a test machine without success. None of the machines are
running Adobe 9 Pro Extended.

The machine on which it happens is running Office 2007 SP1 under Vista Home
Premium with all automatic Microsoft Update maintenance.

The test machine is running XP SP2, and I have systematically applied Office
2007 vanilla, SP1, and subsequent fixes to them, attempting to recreate the
problem at each stage without success.
  Dave M replied...
03-Sep-09 11:11 AM
You are required to be a member to post replies.  After logging in or becoming a member, you will be redirected back to this page.
Create New Account
help
Leere Seite nach Inhalsverzeichnis im PDF Word Liebe NG Habe von XP / Office 2007 auf Vista / Office 2007 umgestellt und Adobe Reader 9 im Einsatz. Wenn ich nun aus einem Word-Dokument ein habe noch einen zweiten PDF-Writer (doPDF v6) runtergeladen und das selbe Problem. Unter XP / Office 2007 hatte ich dieses Phänomen nicht. Hat jemand eine Idee, woran das liegen könnte und wie leere Seite los werde? Herzlichen Dank und Grüsse Gabriela Word - German Discussions Microsoft PowerPoint (1) Office 2007 (1) Adobe (1) Vista (1) Word (1) XP (1) DoPDF (1) Inhaltsverzeichnisses (1) Hallo
docx) aus Office 2007 (Vista H) auf anderem PC mit Office 2003 be Word Hallo, ich habe da folgendes Problem. Ich arbeite mit zwei verschiedenen PC / Laptop. Auf einem ist Windows XP mit Office 2003, auf dem zweiten jedoch Vista Home mit Office 2007, installiert. Dokumente habe ich auf einem USB-Stick archiviert um sie auf beiden Ger??ten
Vista & Office 2007 Error: "not been installed for the current user" Word I've got a problem similar to others, except this is official releases of Vista Ultimate and Office 2007 Ultimate. When I attempt to execute Word, the Office configuration runs, then the dreaded "Microsoft Office Word has not been installed for the current user" pops up every time I run
Office 2007 - borders toolbar Word Vista - Office Word 2007 With ribbons replacing toolbars, how do I get the borders 'toolbar' to stay open on previous versions I could just drag it on to the page. Thanks Word Tables Discussions Office System (1) Office 2007 (1) Word 2007 (1) Vista (1) Barnhill (1) Fairhope (1) Alabama (1) Painter (1) Hi
Microsoft office 2007 has stopped working Word I am running Microsoft Office 2007 on my HP Vista. Microsoft office has stopped working. When I try to open Microsoft Word it tries to run a configuration for Microsoft Home and Office 2007 but never completes. If I try to open a Word document an error message appears