ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Hyperlink Sort (https://www.excelbanter.com/excel-discussion-misc-queries/163557-hyperlink-sort.html)

AEROTJK

Hyperlink Sort
 
Hello,

I am wondering if there is a way to set up a column label as a hyperlink,
and when that label is clicked, the table sorts by that label.

Any suggestions?

Thanks in advance.

AEROTJK

Dave Peterson

Hyperlink Sort
 
I don't think a hyperlink alone will be able to sort your data.

You could assign a macro to hidden rectangles in the header rows. The macro
would unprotect the sheet (if required), sort by that column and reprotect the
sheet (if required).

If you like that idea, you could start at Debra Dalgleish's site:
http://www.contextures.com/xlSort02.html

AEROTJK wrote:

Hello,

I am wondering if there is a way to set up a column label as a hyperlink,
and when that label is clicked, the table sorts by that label.

Any suggestions?

Thanks in advance.

AEROTJK


--

Dave Peterson

David McRitchie

Hyperlink Sort
 
I would use an Event macro such as double-click
http://www.mvps.org/dmcritchie/excel/event.htm

--
HTH,
David McRitchie, Microsoft MVP -- Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm


"Dave Peterson" wrote in message ...
I don't think a hyperlink alone will be able to sort your data.

You could assign a macro to hidden rectangles in the header rows. The macro
would unprotect the sheet (if required), sort by that column and reprotect the
sheet (if required).

If you like that idea, you could start at Debra Dalgleish's site:
http://www.contextures.com/xlSort02.html

AEROTJK wrote:

Hello,

I am wondering if there is a way to set up a column label as a hyperlink,
and when that label is clicked, the table sorts by that label.

Any suggestions?

Thanks in advance.

AEROTJK


--

Dave Peterson



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com