Hi Roger,
Thanks for you response, I can't get it to work for me though....Perhaps I'm
missing something out? Or doing something wrong, most likely.... Or maybe I
didn't explain my problem very well. What I need to have happen is: when I
enter a bidder number into column C in sheet 2, named STOCKLIST (next to the
lot number, column A, and the matching description, column B), and the price
the bidder paid for the lot into column D, I want the information from
columns A,B & D to be entered into that bidder's invoice (they may buy lot
number 8 -row 12-and lot number 246-row 248), and I want the invoice to be
saved with that information. Is this possible with Advanced Filters?

Signature
Regards,
Sarah
> Hi Sarah
>
[quoted text clipped - 38 lines]
> >>
> >> Thank you
Roger Govier - 27 Jun 2007 07:38 GMT
Hi Sarah
Yes, advanced Filter can extract data in that way.
You must start the filter from the Destination sheet.
--Regards
Roger Govier
> Hi Roger,
>
[quoted text clipped - 65 lines]
>> >>
>> >> Thank you
Sarah - 27 Jun 2007 11:08 GMT
Hello again Roger,
I really do appreciate your help, however I seem to be having a great deal
of difficulty in following the instructions.....I just can't make it work.

Signature
Regards,
Sarah
> Hi Sarah
>
[quoted text clipped - 74 lines]
> >> >>
> >> >> Thank you
Roger Govier - 27 Jun 2007 11:21 GMT
Hi Sarah
If you want, you can mail me the file and I will see if I can set it up
for you.
To mail direct roger at technologyNOSPAM4u.co.uk
remove NOSPAM from address to send and do the normal thing with "at"

Signature
Regards
Roger Govier
> Hello again Roger,
>
[quoted text clipped - 96 lines]
>> >> >>
>> >> >> Thank you
Roger Govier - 27 Jun 2007 12:39 GMT
Hi Sarah
File received and returned.
I think it was merged cells on your invoice sheet that was causing your
problem. They are usually a pain for most things.
I have got rid of all merged cells.
As you have a specific layout for your invoice, I have used Advanced
Filter to copy the relevant lines to a Temporary Sheet and then copied
them from there to your Invoice, using Paste Special so as not to change
the formatting.
I have attached the code to a button on your Invoice sheet.
The code is as follows
Sub CreateInvoice()
Dim wss As Worksheet, wsd As Worksheet, wst As Worksheet
Set wss = ThisWorkbook.Sheets("Stocklist")
Set wsd = ThisWorkbook.Sheets("Invoice")
Set wst = ThisWorkbook.Sheets("Temporary")
Application.ScreenUpdating = False
wsd.Range("A16:D34").ClearContents
wst.Range("A4:D27").ClearContents
wst.Range("D2") = wsd.Range("b2").Value
wss.Range("A3:D28").AdvancedFilter Action:=xlFilterCopy, _
CriteriaRange:=wst.Range("D1:D2"),
CopyToRange:=wst.Range("A4:D4"), Unique:=False
wst.Range("A5:D7").Copy
wsd.Range("A16").Select
Selection.PasteSpecial (xlValues)
Application.CutCopyMode = False
wsd.Range("B2").Activate
Application.ScreenUpdating = True
End Sub

Signature
Regards
Roger Govier
> Hi Sarah
>
[quoted text clipped - 105 lines]
>>> >> >>
>>> >> >> Thank you
Sarah - 27 Jun 2007 13:04 GMT
Thank you Roger, you are amazing!

Signature
Regards,
Sarah
> Hi Sarah
>
[quoted text clipped - 143 lines]
> >>> >> >>
> >>> >> >> Thank you