Results 1 to 2 of 2
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macro not import correct lines (2000 sr 1)

    WHY!!!!!!!!!!!!!!!!!!
    ... the macro import other line and not only the yellow line From DARE_GLOB (EPUR),
    help, help, help,

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Macro not import correct lines (2000 sr 1)

    Sal,

    This code looks at the entire used range in SourceSheet, including the table in column Y, so it runs too far down.

    I have written MANY macros for you that check the last used cell in a specific column, so you should be able to solve this yourself. You need to use SourceSheet.Range("B65536").End(xlUp). I'll leave it to you to work out the details.

Posting Permissions

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