Consulting

Results 1 to 2 of 2

Thread: Find empty cell in one spreadsheet and then paste information from another

  1. #1
    VBAX Regular
    Joined
    Aug 2016
    Posts
    13
    Location

    Find empty cell in one spreadsheet and then paste information from another

    Hi,

    I have various suppliers who sell us various products.

    Each supplier has its own sheet.

    Our purchaser inputs the amount ordered and then the amount delivered on said day. Our grading team then inputs the amount out of spec. We then send reports out with the information.

    I am trying to based upon if a parameter is met send information from one spreadsheet and paste it into another. So we can send out the reports in PDF format.

    
    
    WeekNumRef = Sheets(LeleinValue).Range("E1")
    BlankRow = Sheets("Data Form").Range("A65536").End(xlUp).Row + 1
    Cells(BlankRow, 1).Select


    I can find the last used cell but how do it paste the information from the cell required into the blank cell?

  2. #2
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,875
    Either:
    Cells(BlankRow, 1).value = WeekNumRef
    or:
    Cells(BlankRow, 1).value = Sheets(LeleinValue).Range("E1")
    or:
    Sheets(LeleinValue).Range("E1").copy Cells(BlankRow, 1)
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •