#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
yetshin
 
Posts: n/a
Default macro

i have many data of shipment date of some products, the shipment date may
from 01/01/2006 to 31/12/2006. and now i only want the worksheet to show
those rows which ship date is from 01/04/2006 to 30/06/2006. someone told me
can use macro to make it but i can't figure out how to do.
thx very much.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ian P
 
Posts: n/a
Default macro

Macros will do this but have you tried using filter. If your worksheet has
all of the shipment dates in one column then this should work fine. Select
the column headers and the DataFilterAutoFilter. Use the drop down box on
Shipment date and then select custom and you can apply the filter that you
wish to use.

Ian

"yetshin" wrote:

i have many data of shipment date of some products, the shipment date may
from 01/01/2006 to 31/12/2006. and now i only want the worksheet to show
those rows which ship date is from 01/04/2006 to 30/06/2006. someone told me
can use macro to make it but i can't figure out how to do.
thx very much.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
yetshin
 
Posts: n/a
Default macro

ya i tink tat will do when i add another column of "month" beside my "date"
column, and fill in all the month accoding to the date, then do the auto
filter to the "month" column. but my data are all in date form, eg. 21-Mar-06,
12-Dec-06, etc. then i not sure custom can do tat.
thx.

Ian P wrote:
Macros will do this but have you tried using filter. If your worksheet has
all of the shipment dates in one column then this should work fine. Select
the column headers and the DataFilterAutoFilter. Use the drop down box on
Shipment date and then select custom and you can apply the filter that you
wish to use.

Ian

i have many data of shipment date of some products, the shipment date may
from 01/01/2006 to 31/12/2006. and now i only want the worksheet to show
those rows which ship date is from 01/04/2006 to 30/06/2006. someone told me
can use macro to make it but i can't figure out how to do.
thx very much.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
excelent
 
Posts: n/a
Default macro

as ian say's work fine here try it, i dont think u have to ad any column's :-)

"yetshin" skrev:

ya i tink tat will do when i add another column of "month" beside my "date"
column, and fill in all the month accoding to the date, then do the auto
filter to the "month" column. but my data are all in date form, eg. 21-Mar-06,
12-Dec-06, etc. then i not sure custom can do tat.
thx.

Ian P wrote:
Macros will do this but have you tried using filter. If your worksheet has
all of the shipment dates in one column then this should work fine. Select
the column headers and the DataFilterAutoFilter. Use the drop down box on
Shipment date and then select custom and you can apply the filter that you
wish to use.

Ian

i have many data of shipment date of some products, the shipment date may
from 01/01/2006 to 31/12/2006. and now i only want the worksheet to show
those rows which ship date is from 01/04/2006 to 30/06/2006. someone told me
can use macro to make it but i can't figure out how to do.
thx very much.


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
Search, Copy, Paste Macro in Excel [email protected] Excel Worksheet Functions 0 January 3rd 06 06:51 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
macro with F9 Kenny Excel Discussion (Misc queries) 1 August 3rd 05 02:41 PM
Make Alignment options under format cells available as shortcut dforrest Excel Discussion (Misc queries) 1 July 14th 05 10:58 PM
Playing a macro from another workbook Jim Excel Discussion (Misc queries) 1 February 23rd 05 10:12 PM


All times are GMT +1. The time now is 03:09 AM.

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

About Us

"It's about Microsoft Excel"