Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default VBA Code to list vendors

Hi,
I have a purchase data, where the fields are Date PO, PO#, Supplier, Qty,
Up, Total Price.

excerption the data as follow:
ColA Col B Col C
Date Supplier Total Price
01Jan A 100
13Jan A 50
30Jan B 75
02Feb A 25
13Feb B 100
26FEb B 50

how to list the purchase ONLY for month Jan?
by VBA Code?

Thank you for the help.

Andri

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default VBA Code to list vendors

use Data=Filter = Autofilter

You can use a custom format on the first column.

turn on the macro recorder while you do it manually and this should give you
the basic code you need.

--
Regards,
Tom Ogilvy

"Andri" wrote in message
...
Hi,
I have a purchase data, where the fields are Date PO, PO#, Supplier, Qty,
Up, Total Price.

excerption the data as follow:
ColA Col B Col C
Date Supplier Total Price
01Jan A 100
13Jan A 50
30Jan B 75
02Feb A 25
13Feb B 100
26FEb B 50

how to list the purchase ONLY for month Jan?
by VBA Code?

Thank you for the help.

Andri



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
How do I do a cost comparison of products from many vendors? rolson New Users to Excel 4 April 8th 13 04:53 PM
Drop Down/List w/Code and Definition, only code entered when selec Spiritdancer Excel Worksheet Functions 2 November 2nd 07 03:57 AM
load one vendors prices to a master workbook yank Excel Worksheet Functions 0 June 11th 06 04:12 PM
monthly/yearly expence by vendors Nikki New Users to Excel 1 February 5th 06 08:04 PM
Multiple vendors and scenarios - Excel Vincent Kelly via OfficeKB.com Excel Worksheet Functions 1 March 2nd 05 04:47 AM


All times are GMT +1. The time now is 08:03 PM.

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"