I need to be able to position the vertical and horizontal scroll bars in a
Fame object from VBA. I have searched the internet for an API or code o do
this without success. The only frame routine (scroll) doesn't seem to do
this. Any help would be appreciated.

Gary

Re: VBA control vscroll and hscroll in a frame by Klaus

Klaus
Mon May 29 09:38:10 CDT 2006

Hi Gary,

Doesn't .ScrollIntoView work for this, if you set the Range to what you want
to have in view?

Greetings,
Klaus



"gary" wrote:
>I need to be able to position the vertical and horizontal scroll bars in a
> Fame object from VBA. I have searched the internet for an API or code o
> do
> this without success. The only frame routine (scroll) doesn't seem to do
> this. Any help would be appreciated.
>
> Gary
>



Re: VBA control vscroll and hscroll in a frame by gary

gary
Mon May 29 10:18:01 CDT 2006

Klaus,

.Scrollintoview is new to me. From VBA help .scrollintoview is a method for
windows or panes. I need this to be associated with a frame that contains
the WebBrowser object that ultimately needs to be scrolled from VBA. I can't
say Frame1.WebBrowser1.scrollintoview left,top,width,height,start

"Klaus Linke" wrote:

> Hi Gary,
>
> Doesn't .ScrollIntoView work for this, if you set the Range to what you want
> to have in view?
>
> Greetings,
> Klaus
>
>
>
> "gary" wrote:
> >I need to be able to position the vertical and horizontal scroll bars in a
> > Fame object from VBA. I have searched the internet for an API or code o
> > do
> > this without success. The only frame routine (scroll) doesn't seem to do
> > this. Any help would be appreciated.
> >
> > Gary
> >
>
>
>

Re: VBA control vscroll and hscroll in a frame by Klaus

Klaus
Mon May 29 10:27:08 CDT 2006

> .Scrollintoview is new to me. From VBA help .scrollintoview is a method
> for
> windows or panes. I need this to be associated with a frame that contains
> the WebBrowser object that ultimately needs to be scrolled from VBA. I
> can't
> say Frame1.WebBrowser1.scrollintoview left,top,width,height,start


Try ActiveWindow -- or if that doesn't work, put your selection into Frame1
first and try again.
(I have never used frames, and just hope it works that way)

Klaus