I'm trying to create an application where the majority of the screen
contains a loaded Word document. I want the user to be able to scroll
through that document and then add customized comments (textboxes,
actually) at specific locations via a series of controls I have
created. This is working fine.
I need the controls to always be present, even as the user scrolls
through the document.
I tried placing the controls (buttons, etc.) in one cell of a table and
the document in another, larger cell, but I cannot get the document
cell to scroll.

Can anyone help with guidance on the best approach to do this?
Thanks very much

Re: How do I scroll a document without scrolling the controls? by Perry

Perry
Tue Dec 13 15:29:17 CST 2005

If we're talking about controls not needing to scroll along as you navigate
through the document, I assume they don't have a function besides
controlling the scrolling, right?
If so, place the "scroll controls" in a modeless (tiny) userform and use
something like

ActiveWindow.ActivePane.LargeScroll down:=1
or
ActiveWindow.ActivePane.SmallScroll down:=1

Krgrds,
Perry
-------------------------------------
"coach_mikey" <mike@361inc.com> wrote in message
news:1134505526.628096.14210@f14g2000cwb.googlegroups.com...
> I'm trying to create an application where the majority of the screen
> contains a loaded Word document. I want the user to be able to scroll
> through that document and then add customized comments (textboxes,
> actually) at specific locations via a series of controls I have
> created. This is working fine.
> I need the controls to always be present, even as the user scrolls
> through the document.
> I tried placing the controls (buttons, etc.) in one cell of a table and
> the document in another, larger cell, but I cannot get the document
> cell to scroll.
>
> Can anyone help with guidance on the best approach to do this?
> Thanks very much
>



Re: How do I scroll a document without scrolling the controls? by coach_mikey

coach_mikey
Wed Dec 14 11:02:04 CST 2005

Thanks a bunch Perry for the quick response!

The controls will actually be mostly buttons. The user will first
highlight text within the open word document. Then, the user will
click a particular button to add a particular textbox at that location
in the document as well as highlight the selected text. So I think
placing the buttons in a userform will still work, no? The userform
should stay visible onscreen where it is even if I scroll down several
pages of the document, right?


Re: How do I scroll a document without scrolling the controls? by Perry

Perry
Wed Dec 14 16:21:44 CST 2005

> placing the buttons in a userform will still work, no? The userform
> should stay visible onscreen where it is even if I scroll down several
> pages of the document, right?

Right!
-------------------------------------
Krgrds,
Perry

"coach_mikey" <mike@361inc.com> wrote in message
news:1134579724.708280.307070@f14g2000cwb.googlegroups.com...
> Thanks a bunch Perry for the quick response!
>
> The controls will actually be mostly buttons. The user will first
> highlight text within the open word document. Then, the user will
> click a particular button to add a particular textbox at that location
> in the document as well as highlight the selected text. So I think
> placing the buttons in a userform will still work, no? The userform
> should stay visible onscreen where it is even if I scroll down several
> pages of the document, right?
>