A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Offset with scrollbar



 
 
Thread Tools Display Modes
  #1  
Old February 9th, 2010, 08:26 PM posted to microsoft.public.excel.worksheet.functions
H.G. Lamy
external usenet poster
 
Posts: 8
Default Offset with scrollbar

Hello,

I'm trying to use a (form control) scrollbar on a worksheet to cycle through
a vertical (column) list of 12 month (January - December).
The length / address of the month's list (named range) must adapt to the
remaining # of months.

For example: if I pick March (= index 3 of the scrollbar's cell-link, the
month's list should have left 9 rows (April - December).
If I choose scroll to October, the list (named range) should only have 2
rows left (November - December), etc.

Any idea how to do it, possibly with Offset(....) ?

Thank you in advance.

Kind regards,

hgl




  #2  
Old February 10th, 2010, 03:13 AM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Offset with scrollbar

I would need to see the file to try and figure out what you're wanting to
do.

If you can post a small sample file at a free file host I'll take a look.

--
Biff
Microsoft Excel MVP


"H.G. Lamy" wrote in message
...
Hello,

I'm trying to use a (form control) scrollbar on a worksheet to cycle
through
a vertical (column) list of 12 month (January - December).
The length / address of the month's list (named range) must adapt to the
remaining # of months.

For example: if I pick March (= index 3 of the scrollbar's cell-link, the
month's list should have left 9 rows (April - December).
If I choose scroll to October, the list (named range) should only have 2
rows left (November - December), etc.

Any idea how to do it, possibly with Offset(....) ?

Thank you in advance.

Kind regards,

hgl






  #3  
Old February 10th, 2010, 11:48 AM posted to microsoft.public.excel.worksheet.functions
H.G. Lamy
external usenet poster
 
Posts: 8
Default Offset with scrollbar

Thank you for feedback!

Please find my sample attached here. When scrolling the months the list
should always end with December.
Can "Offset(...)" or another function be applied so intelligently that this
is achieved ?

Kind regards,

hgl

"T. Valko" wrote in message
...
I would need to see the file to try and figure out what you're wanting to
do.

If you can post a small sample file at a free file host I'll take a look.

--
Biff
Microsoft Excel MVP


"H.G. Lamy" wrote in message
...
Hello,

I'm trying to use a (form control) scrollbar on a worksheet to cycle
through
a vertical (column) list of 12 month (January - December).
The length / address of the month's list (named range) must adapt to the
remaining # of months.

For example: if I pick March (= index 3 of the scrollbar's cell-link, the
month's list should have left 9 rows (April - December).
If I choose scroll to October, the list (named range) should only have 2
rows left (November - December), etc.

Any idea how to do it, possibly with Offset(....) ?

Thank you in advance.

Kind regards,

hgl










  #4  
Old February 10th, 2010, 05:08 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Offset with scrollbar

Ok, here you go.

I've assumed that when the spinner linked cell = 12 (for December) then the
list is "empty" since there are no months after December.

--
Biff
Microsoft Excel MVP


"H.G. Lamy" wrote in message
...
Thank you for feedback!

Please find my sample attached here. When scrolling the months the list
should always end with December.
Can "Offset(...)" or another function be applied so intelligently that
this
is achieved ?

Kind regards,

hgl

"T. Valko" wrote in message
...
I would need to see the file to try and figure out what you're wanting to
do.

If you can post a small sample file at a free file host I'll take a look.

--
Biff
Microsoft Excel MVP


"H.G. Lamy" wrote in message
...
Hello,

I'm trying to use a (form control) scrollbar on a worksheet to cycle
through
a vertical (column) list of 12 month (January - December).
The length / address of the month's list (named range) must adapt to the
remaining # of months.

For example: if I pick March (= index 3 of the scrollbar's cell-link,
the
month's list should have left 9 rows (April - December).
If I choose scroll to October, the list (named range) should only have 2
rows left (November - December), etc.

Any idea how to do it, possibly with Offset(....) ?

Thank you in advance.

Kind regards,

hgl













  #5  
Old February 10th, 2010, 05:23 PM posted to microsoft.public.excel.worksheet.functions
H.G. Lamy
external usenet poster
 
Posts: 8
Default Offset with scrollbar

Perfect !

Many many thanks !

Regards,

hgl

"T. Valko" wrote in message
...
Ok, here you go.

I've assumed that when the spinner linked cell = 12 (for December) then
the list is "empty" since there are no months after December.

--
Biff
Microsoft Excel MVP


"H.G. Lamy" wrote in message
...
Thank you for feedback!

Please find my sample attached here. When scrolling the months the list
should always end with December.
Can "Offset(...)" or another function be applied so intelligently that
this
is achieved ?

Kind regards,

hgl

"T. Valko" wrote in message
...
I would need to see the file to try and figure out what you're wanting to
do.

If you can post a small sample file at a free file host I'll take a
look.

--
Biff
Microsoft Excel MVP


"H.G. Lamy" wrote in message
...
Hello,

I'm trying to use a (form control) scrollbar on a worksheet to cycle
through
a vertical (column) list of 12 month (January - December).
The length / address of the month's list (named range) must adapt to
the
remaining # of months.

For example: if I pick March (= index 3 of the scrollbar's cell-link,
the
month's list should have left 9 rows (April - December).
If I choose scroll to October, the list (named range) should only have
2
rows left (November - December), etc.

Any idea how to do it, possibly with Offset(....) ?

Thank you in advance.

Kind regards,

hgl














  #6  
Old February 10th, 2010, 05:38 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Offset with scrollbar

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"H.G. Lamy" wrote in message
...
Perfect !

Many many thanks !

Regards,

hgl

"T. Valko" wrote in message
...
Ok, here you go.

I've assumed that when the spinner linked cell = 12 (for December) then
the list is "empty" since there are no months after December.

--
Biff
Microsoft Excel MVP


"H.G. Lamy" wrote in message
...
Thank you for feedback!

Please find my sample attached here. When scrolling the months the list
should always end with December.
Can "Offset(...)" or another function be applied so intelligently that
this
is achieved ?

Kind regards,

hgl

"T. Valko" wrote in message
...
I would need to see the file to try and figure out what you're wanting
to
do.

If you can post a small sample file at a free file host I'll take a
look.

--
Biff
Microsoft Excel MVP


"H.G. Lamy" wrote in message
...
Hello,

I'm trying to use a (form control) scrollbar on a worksheet to cycle
through
a vertical (column) list of 12 month (January - December).
The length / address of the month's list (named range) must adapt to
the
remaining # of months.

For example: if I pick March (= index 3 of the scrollbar's cell-link,
the
month's list should have left 9 rows (April - December).
If I choose scroll to October, the list (named range) should only have
2
rows left (November - December), etc.

Any idea how to do it, possibly with Offset(....) ?

Thank you in advance.

Kind regards,

hgl
















 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.