PC Review


Reply
Thread Tools Rate Thread

command button function

 
 
=?Utf-8?B?U0RI?=
Guest
Posts: n/a
 
      18th Apr 2007
I have a command button (cmdUpdate Sumary) on UserForm1. When i click the
button i need it to ask for a start and finish date. These dates need to be
used to produce a new worksheet (Summary). The sheet needs to show the sales
made (which are entered on worksheet "Clients") that fall in between the
start and finish dates entered. The Client sheet contains the dates in column
F of the work sheet and the following information in the other columns:

A Name of Group
B Address
C Contact Person
D Product
E Quantity
 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      18th Apr 2007
Take it in stages:
- Give the user an InputBox/TextBoxex/Calendar control to select/enter the 2
dates
- Add + rename a new worksheet
- Filter/Copy/Paste or use formula to get the required data into the new
sheet.

You can record a macro for the 2nd and 3rd steps.

Post back when you have a specific question/issue.
I doubt anyone is going to write all the code for you.

NickHK

"SDH" <(E-Mail Removed)> wrote in message
news:73AA8646-4E23-4737-BBF8-(E-Mail Removed)...
> I have a command button (cmdUpdate Sumary) on UserForm1. When i click the
> button i need it to ask for a start and finish date. These dates need to

be
> used to produce a new worksheet (Summary). The sheet needs to show the

sales
> made (which are entered on worksheet "Clients") that fall in between the
> start and finish dates entered. The Client sheet contains the dates in

column
> F of the work sheet and the following information in the other columns:
>
> A Name of Group
> B Address
> C Contact Person
> D Product
> E Quantity



 
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
Insert a function through a command button Subodh Microsoft Excel Programming 5 14th May 2010 03:37 AM
Assign Function to a Command Button MUEEN SEHDI Microsoft Excel Misc 1 29th Oct 2009 11:25 AM
Command Button Function =?Utf-8?B?Ym9i?= Microsoft Excel Programming 1 6th Feb 2007 06:12 PM
command button to do F9 function Jay Microsoft Excel Programming 3 3rd Oct 2006 11:46 PM
using command button instead of edit function =?Utf-8?B?am9obiB0ZW1wZXN0?= Microsoft Excel Programming 7 21st Dec 2005 06:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:47 PM.