PC Review


Reply
Thread Tools Rate Thread

Custom sort with user form

 
 
anon
Guest
Posts: n/a
 
      23rd Nov 2007
Hi,

I have a sheet with custom toolbars so users cannot use the standard
data - sort command (there is a valid reason for doing this).

I want to re-create something similar to the sort command.

So.

User selects customer toolbar button (done) called sort
This opens a user form similar to the sort user form
The user's selections of sort order from the form are passed to a
macro to run the sort

I am unsure how to pass the values to the code to do this as I have
not worked with user forms before. Is it as simple as
dim sort1
sort1 = combobox.value
 
Reply With Quote
 
 
 
 
Per Jessen
Guest
Posts: n/a
 
      23rd Nov 2007
On 23 Nov., 20:44, anon <inboxalwaysf...@hotmail.com> wrote:
> Hi,
>
> I have a sheet with custom toolbars so users cannot use the standard
> data - sort command (there is a valid reason for doing this).
>
> I want to re-create something similar to the sort command.
>
> So.
>
> User selects customer toolbar button (done) called sort
> This opens a user form similar to the sort user form
> The user's selections of sort order from the form are passed to a
> macro to run the sort
>
> I am unsure how to pass the values to the code to do this as I have
> not worked with user forms before. Is it as simple as
> dim sort1
> sort1 = combobox.value


sort1 = Userform1.Combobox1.Value

-----

Per
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom contact form replaced with the default OL form for another user Alexey Titov Microsoft Outlook Form Programming 0 31st Mar 2010 11:06 AM
Custom Sort Order in a Form jrizzo77 Microsoft Access Forms 2 2nd Dec 2009 07:59 PM
User form to sort data Gazza Microsoft Excel Programming 6 21st Sep 2006 01:59 AM
Modaly Load A Windows Form User Control From Another Windows Form User Control - Sort of like a popup. Richard Microsoft VB .NET 1 4th Apr 2005 11:44 PM
Modaly Load A Windows Form User Control From Another Windows Form User Control - Sort of like a popup. Richard Microsoft C# .NET 1 4th Apr 2005 11:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:41 AM.