Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Objects, Cell Referencing and Sorting

This is an extension of another question I posted on Scrollbars. I am using
Excel 2003. Here's the situation I need help on.
I have table with a scrollbar in each cell of a column. Each scrollbar is
linked to the cell under the object. My problem when I sort my table, the
scrollbar cell reference is updated to sorted location of the cell. I need it
to remain fixed.

How do I fix the scrollbar cell reference to be the cell beneath it with no
impact due to sorting?

Thanks,
- Pat
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Objects, Cell Referencing and Sorting

It might be easier to copy your data to another range to do the sorting and
then paste it back into the table. You would have to work with values only.
That would leave the scroll bars intact. This assumes that there are no
formulas in the applicable range.

"Dreiding" wrote:

This is an extension of another question I posted on Scrollbars. I am using
Excel 2003. Here's the situation I need help on.
I have table with a scrollbar in each cell of a column. Each scrollbar is
linked to the cell under the object. My problem when I sort my table, the
scrollbar cell reference is updated to sorted location of the cell. I need it
to remain fixed.

How do I fix the scrollbar cell reference to be the cell beneath it with no
impact due to sorting?

Thanks,
- Pat

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Objects, Cell Referencing and Sorting

Yes, I see how this could work. Unfortunately I have equations in the table.
Also the user will need the capability to sort on different fields.
Can a formula be entered in the Linked Cell field of the Scrollbar property?

Thanks,
- Pat

"JLGWhiz" wrote:

It might be easier to copy your data to another range to do the sorting and
then paste it back into the table. You would have to work with values only.
That would leave the scroll bars intact. This assumes that there are no
formulas in the applicable range.

"Dreiding" wrote:

This is an extension of another question I posted on Scrollbars. I am using
Excel 2003. Here's the situation I need help on.
I have table with a scrollbar in each cell of a column. Each scrollbar is
linked to the cell under the object. My problem when I sort my table, the
scrollbar cell reference is updated to sorted location of the cell. I need it
to remain fixed.

How do I fix the scrollbar cell reference to be the cell beneath it with no
impact due to sorting?

Thanks,
- Pat

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Objects, Cell Referencing and Sorting

I figured a method to to do this as long as I force the users to do the
sorting through my macro's and not directly through the excel sort
capabilities. It works, but the user still can screw themselves if they use
other sort methods

Do anyone know how to trap the excel sort command? If this can be done, I
can insert the sorting and add the fix to the object linked cells
automatically and total avoid the user getting themselves in trouble.

Thanks,
- Pat



"Dreiding" wrote:

This is an extension of another question I posted on Scrollbars. I am using
Excel 2003. Here's the situation I need help on.
I have table with a scrollbar in each cell of a column. Each scrollbar is
linked to the cell under the object. My problem when I sort my table, the
scrollbar cell reference is updated to sorted location of the cell. I need it
to remain fixed.

How do I fix the scrollbar cell reference to be the cell beneath it with no
impact due to sorting?

Thanks,
- Pat

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
Sorting Objects with the rest of the cells Garrett Excel Discussion (Misc queries) 2 March 4th 10 11:47 PM
cell referencing problems when sorting data am Excel Worksheet Functions 9 April 7th 09 09:45 AM
Referencing between two Excel Workbook Objects Stephen Schroeder Excel Worksheet Functions 0 July 16th 07 02:08 AM
Referencing sheets/objects dve11 Excel Programming 1 February 16th 06 12:01 PM
Preventing compile errors when referencing objects ehanced after 1997 Matt Somers Excel Programming 6 February 13th 04 10:25 PM


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

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"