PC Review


Reply
Thread Tools Rate Thread

Autofilter with VBA

 
 
haas786@yahoo.com
Guest
Posts: n/a
 
      10th Oct 2007
Hi all!

I was wondering if you can help me with a VBA code. I need to filter a
range of data on one worksheet based on values in two cells (G2 and G3
in another worksheet "Claims") using VBA. Once I'm able to filter the
data, I need to copy this info and paste it into a new blank
workbook.

For example, I need to filter the data in my worksheet titled "Data"
based on the value of cell G2 in worksheet titled "Claims", which
let's say G2 is "Auto", and the other criteria value is in cell G3,
which is "NJ." Once this filter is applied in "Data", I want to copy
all the filtered fields and paste them onto a new blank workbook.
Please help if you can - much appreicated.

Thanks in advance,

Haas

 
Reply With Quote
 
 
 
 
JW
Guest
Posts: n/a
 
      10th Oct 2007
On Oct 9, 10:56 pm, "haas...@yahoo.com" <haas...@yahoo.com> wrote:
> Hi all!
>
> I was wondering if you can help me with a VBA code. I need to filter a
> range of data on one worksheet based on values in two cells (G2 and G3
> in another worksheet "Claims") using VBA. Once I'm able to filter the
> data, I need to copy this info and paste it into a new blank
> workbook.
>
> For example, I need to filter the data in my worksheet titled "Data"
> based on the value of cell G2 in worksheet titled "Claims", which
> let's say G2 is "Auto", and the other criteria value is in cell G3,
> which is "NJ." Once this filter is applied in "Data", I want to copy
> all the filtered fields and paste them onto a new blank workbook.
> Please help if you can - much appreicated.
>
> Thanks in advance,
>
> Haas


Haas, try not to double post if at all possible. See my response to
this question in your original post below.
http://groups.google.com/group/micro...a185fa1ebb1ed5

 
Reply With Quote
 
haas786@yahoo.com
Guest
Posts: n/a
 
      10th Oct 2007
On Oct 9, 11:01 pm, JW <JWRIGH...@triad.rr.com> wrote:
> On Oct 9, 10:56 pm, "haas...@yahoo.com" <haas...@yahoo.com> wrote:
>
>
>
>
>
> > Hi all!

>
> > I was wondering if you can help me with a VBA code. I need to filter a
> > range of data on one worksheet based on values in two cells (G2 and G3
> > in another worksheet "Claims") using VBA. Once I'm able to filter the
> > data, I need to copy this info and paste it into a new blank
> > workbook.

>
> > For example, I need to filter the data in my worksheet titled "Data"
> > based on the value of cell G2 in worksheet titled "Claims", which
> > let's say G2 is "Auto", and the other criteria value is in cell G3,
> > which is "NJ." Once this filter is applied in "Data", I want to copy
> > all the filtered fields and paste them onto a new blank workbook.
> > Please help if you can - much appreicated.

>
> > Thanks in advance,

>
> > Haas

>
> Haas, try not to double post if at all possible. See my response to
> this question in your original post below.http://groups.google.com/group/micro...amming/bro...- Hide quoted text -
>
> - Show quoted text -


I'm sorry I double posted - I didn't see my original post anywhere for
18 hours and was getting worried. It wasn't even in my profile - I
never had the problem before. Thanks for your help tho - i truly
appreciate this group's expertise.

 
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
excel 2007 autofilter change to 2003 autofilter functionality? jonnybrovo815 Microsoft Excel Misc 1 19th Apr 2010 10:05 PM
2007 excel autofilter back to 2003 autofilter? jonnybrovo815 Microsoft Excel Misc 3 19th Apr 2010 08:11 PM
2007 excel autofilter change back to 2003 autofilter? jonnybrovo815 Microsoft Excel Misc 1 19th Apr 2010 05:53 PM
2007 Autofilter worse than 2003 Autofilter =?Utf-8?B?anNreQ==?= Microsoft Excel Misc 9 31st Oct 2007 12:14 AM
How to Sort within AutoFilter with Protection on (and AutoFilter . =?Utf-8?B?Z2libG9u?= Microsoft Excel Misc 1 16th Feb 2006 12:23 PM


Features
 

Advertising
 

Newsgroups
 


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