Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Scrolling columns in lockstep

I've looked high and low all over the Internet for hours trying to
find an answer but no luck. Keep in mind I'm pretty much a newbie when
it comes to VBA so please be nice.

I need to keep 4 columns/cells in lockstep with each other as one of
them is scrolled. For example, I have one column for street address, a
second for city, a third for state and a forth for zip. When I scroll
the address textbox, I want city, state and zip to also scroll. When I
select a particular address, the city, state and zip associated with
that address in the other columns should also be selected
(highlighted).

Essentially this is exactly what Excel itself does - but I'm trying to
do it on a userform.

Any clues as to how to implement that in VBA 6 (and Excel 2000)?

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 772
Default Scrolling columns in lockstep

I'm a bit confused, you say you have columns and cells that you can scroll,
then you say that they are textboxes. Are you scrolling by using a scrollbar
or just moving up and down? are you scrolling on the page and the textbox is
updated with the current value? Do you mean a listbox or combobox?

If you can answer those that should do it, basically you want to set that
when one changes index, the others change to the same index.

--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"Dudely" wrote:

I've looked high and low all over the Internet for hours trying to
find an answer but no luck. Keep in mind I'm pretty much a newbie when
it comes to VBA so please be nice.

I need to keep 4 columns/cells in lockstep with each other as one of
them is scrolled. For example, I have one column for street address, a
second for city, a third for state and a forth for zip. When I scroll
the address textbox, I want city, state and zip to also scroll. When I
select a particular address, the city, state and zip associated with
that address in the other columns should also be selected
(highlighted).

Essentially this is exactly what Excel itself does - but I'm trying to
do it on a userform.

Any clues as to how to implement that in VBA 6 (and Excel 2000)?

Thank you

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
scrolling columns behind previous columns gfw Excel Worksheet Functions 4 October 23rd 09 10:54 PM
How to keep title of columns in view when scrolling RobG2007 Excel Discussion (Misc queries) 2 July 26th 07 01:50 PM
keep a group of row/columns scrolling up or down? LyndaV Excel Discussion (Misc queries) 1 March 3rd 07 02:23 PM
Userform: Display Scrolling View of Columns A:C Corey Excel Programming 1 January 29th 07 06:37 PM
Scrolling columns display [email protected] Excel Programming 0 December 6th 05 11:38 AM


All times are GMT +1. The time now is 04:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"