Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Macro to filter dates using Userform1 & printing

I have a speadsheet that has 5 columns.
(Headings are in row 2 and a Cell A2=Date, B2=Name, C2=Paylist,
D2=Cycle, E2=Action).
Data starts in Row 3 and will go down to row 5000. The dates would
start 01-Jan-2011 and could go up to 31-Dec-2011.

Right now I have 2 macro's to sort by date and paylist but what I also
need is a macro to allow the user to sort by the user inputting a from
date (I think I can use a calendar to pick from) and a to date (option
of = and =<) in a form.

The next piece is how to display and be able to print this filtered
info.
I am not sure best option. Possibly only these rows be displayed and
the other rows be hidden or maybe copy to a new page and after
filtering the macro moves access to new page.

I have also created a macro to open a user form1. So far I have (but
no code yet to run) options to sort by Name, Date, Paylist, cycle and
action.

thx
Mel


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
Printing Auto Filter results loza Excel Discussion (Misc queries) 0 March 21st 08 07:53 AM
Excel VB - show userform1 (at same time) minimized application win Dr.CIMS Excel Discussion (Misc queries) 1 September 13th 07 02:14 AM
How to filter out all the partial dates from a big list of dates? Tiwarr Excel Discussion (Misc queries) 1 September 14th 06 05:35 PM
how to filter dates? abigail New Users to Excel 2 August 18th 05 12:45 AM
Printing auto-filter settings Scott buckwalter Excel Worksheet Functions 0 August 10th 05 11:07 PM


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