Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation help, Please!
Message
 
To
08/02/2000 11:54:56
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00328706
Message ID:
00329048
Views:
21
It actually sounds like your cursor position is defaulted to the top of the document, but I'm sure you thought of that.
You'll need Selection.Move statements to move the cursor, and you may want to use bookmarks in the document and
position the cursor to the selected bookmark to ensure that it is at the right position. But that's about the best I can do..

>Yup, I used the macro recorder. The problem is: the code that it returns, doesn't specify to only do it from this point down. It returns the columncount to 1 for the whole document. Chances are, I'm just missing the syntax somewhere in the conversion between VB, and VFP. What it does to me, then, is that at first it looks perfect, with the left, and right justified text existing in 2 columns. Then once I issue the statement that I intend to change the format to 1 column 'FROM HERE ON', all of the right justified text in column 2 actually jumps down to page 2, since it now has only 1 column for the entire document. I can't seem to figure out what tells it 'FROM HERE DOWN' instead of just doing the whole thing. Doing it manually, there is a combo box under Format|columns... that specifies what this formatting should apply to. Any ideas on this issue?
Previous
Reply
Map
View

Click here to load this message in the networking platform