#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default sort colums


Hi

How do i add a button that if i click on sorts the worksheet? save me
doing it manually all the time

thanks
damian cutts


--
damiancutts
------------------------------------------------------------------------
damiancutts's Profile: http://www.excelforum.com/member.php...o&userid=27727
View this thread: http://www.excelforum.com/showthread...hreadid=472393

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default sort colums

Hi Damian,

How do i add a button that if i click on sorts the worksheet? save me
doing it manually all the time


Why not use the standard toolbar sort button.

If this is not appropriate to your needs, perhaps you should provide
additional explanation.

---
Regards,
Norman



"damiancutts"
wrote in message
...

Hi

How do i add a button that if i click on sorts the worksheet? save me
doing it manually all the time

thanks
damian cutts


--
damiancutts
------------------------------------------------------------------------
damiancutts's Profile:
http://www.excelforum.com/member.php...o&userid=27727
View this thread: http://www.excelforum.com/showthread...hreadid=472393



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default sort colums


i wish to add a button under each column so when published on web
columns can also be sorted. i have managed to add them off-line by
recording a macro and assigning it to a button. but when i save the
excel file as a html file, and publish it on the web the buttons no
longer work


--
damiancutts
------------------------------------------------------------------------
damiancutts's Profile: http://www.excelforum.com/member.php...o&userid=27727
View this thread: http://www.excelforum.com/showthread...hreadid=472393

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 903
Default sort colums

Hi Damian,
Unless Microsoft changes their EULA there are so many restrictions
on what you can do with Excel published to a website as interactive code.

In any case macros will not work.

You can sort an HTML table with a bookmarklet -- the sort is strictly a
TEXT sort.

Bookmarklets (JavaScript Favelets)
http://www.mvps.org/dmcritchie/ie/bookmarklets.htm

The sort table bookmarklet is from Jesse Ruderman's squarefree.com
http://www.squarefree.com/bookmarklets/pagedata.html

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"damiancutts" wrote in message
...

i wish to add a button under each column so when published on web
columns can also be sorted. i have managed to add them off-line by
recording a macro and assigning it to a button. but when i save the
excel file as a html file, and publish it on the web the buttons no
longer work


--
damiancutts
------------------------------------------------------------------------
damiancutts's Profile: http://www.excelforum.com/member.php...o&userid=27727
View this thread: http://www.excelforum.com/showthread...hreadid=472393



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
Link Data from several colums into a single one and sort Chimako Excel Discussion (Misc queries) 1 February 25th 10 01:36 PM
how do i sort 2 colums so that the same values line up odi et amo Excel Discussion (Misc queries) 2 February 2nd 09 09:50 AM
Colums Retsel Charts and Charting in Excel 1 September 1st 05 11:42 AM
Sort rows by colums spartanfans13 New Users to Excel 3 August 1st 05 08:50 PM
Automatically Sort colums tamato43 Excel Discussion (Misc queries) 2 March 20th 05 09:00 AM


All times are GMT +1. The time now is 08:21 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"