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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Macro to sort a predefined list



 
 
Thread Tools Display Modes
  #1  
Old June 29th, 2004, 08:05 PM
external usenet poster
 
Posts: n/a
Default Macro to sort a predefined list

I need to make a button on my excel sheet that will sort a pre-defined area
(A2:K103) on my sheet the same way as selecting the area manually and then
selecting sort. Can this be done and how?


  #2  
Old June 29th, 2004, 08:19 PM
Peo Sjoblom
external usenet poster
 
Posts: n/a
Default Macro to sort a predefined list

Record a macro while doing this, then attach it to a button from the forms
toolbar

--

Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)


wrote in message
m...
I need to make a button on my excel sheet that will sort a pre-defined

area
(A2:K103) on my sheet the same way as selecting the area manually and then
selecting sort. Can this be done and how?




  #3  
Old June 29th, 2004, 09:09 PM
Rsummers
external usenet poster
 
Posts: n/a
Default Macro to sort a predefined list

I made the macro button that selects the range of data i want, but i want
the person that is pressing the button to be able to choose how it is sorted
without that person to have to choose the sort feature in the above toolbar,
how can this be done in one macro?
"Peo Sjoblom" wrote in message
...
Record a macro while doing this, then attach it to a button from the forms
toolbar

--

Regards,

Peo Sjoblom

(No private emails please, for everyone's
benefit keep the discussion in the newsgroup/forum)


wrote in message
m...
I need to make a button on my excel sheet that will sort a pre-defined

area
(A2:K103) on my sheet the same way as selecting the area manually and

then
selecting sort. Can this be done and how?






 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a macro or feature to remove duplicate entries in a list? Phillip Pi New Users 11 June 20th, 2004 11:31 PM
Advanced Filter List Range from within a Macro Debra Dalgleish Worksheet Functions 2 May 7th, 2004 12:26 AM
XL2000 stopped showing me the Macro commands list Martyn Setting up and Configuration 4 February 15th, 2004 05:52 PM


All times are GMT +1. The time now is 10:34 AM.


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