Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
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
















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
Scrollbar Help kay Charts and Charting in Excel 1 October 29th 08 05:35 PM
Compare Cell Values, Offset(-1,0), Offset(-1,-1), and xlFillDefaul RyGuy Excel Worksheet Functions 2 September 28th 07 10:54 PM
Scrollbar help [email protected] Excel Discussion (Misc queries) 1 January 19th 07 10:48 PM
Chart / Scrollbar / Offset / Autofilter Oliver Charts and Charting in Excel 0 September 19th 06 03:47 AM
scrollbar reslut makes another scrollbar to show Patrik Excel Discussion (Misc queries) 0 April 18th 05 03:11 PM


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

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

About Us

"It's about Microsoft Excel"