Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My Word/VBA problem
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00459701
Message ID:
00459763
Views:
23
>That is only going to solve part of the problem. Rolf wants the text to appear at the bottom of the doc/page as opposed to the top...

Wow, I had a different interpretation of Rolf's question, "Why is text insterted at top of doc instead of bottom?" I thought Rolf would want the text to follow the short amount of text that was already there (because he had likely pressed PgDn when recording the macro)...not necessarily at the bottom of the physical page. Rolf -- if you need it at the physical bottom of the page, John's right -- you'll need to type some blank paragraphs to get to the bottom of the page.

If the existing text is longer than MoveDown(wdScreen), there are other ways of getting there. The MoveDown method also allows for other increments (wdLine, wdParagraph, and wdWindow). Instead of the MoveDown method, you can also use the GoTo method, which can get you to pages, headings, and lines, and allows you to specify which instance (first, last, third, etc). And there are still more ways, too.

Rolf, the thing to do is to fix the MoveDown line, then see where the text is placed. If it's not where you want it, ask another question, and we'll help you figure it out!

- della
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform