Any Excel experts on here?

Discussion in 'Bulletin Board ARCHIVE' started by Guest, Aug 8, 2006.

  1. Gue

    Guest Guest

    I'm writing a macro in excel

    How do I copy and paste an entry into the next available row in a list

    i.e. Details are on a different sheet so I copy and paste into the table on another sheet where Rows 1 to 10 are currently empty - Macro will add first set of details into row 1
    Next time macro runs it will add the details into row 2
    next time macro runs it will add details into row 3 and so on.

    Every time I try it the details end up in the same place - I need to be able to somehow use "End + 1" but don't know the syntax.

    Cheers,
     
  2. Gue

    Guest Guest

    Dunt matter, sorted it

    For anyone interested, I replaced the line after the line "Selection.End(xlDown).Select" with "Cells(ActiveCell.Row + 1, 2).Select"
    Top qulaity boring stuff!
     
  3. Gue

    Guest Guest

    I was just going to say that.
     
  4. Wayne

    Wayne Well-Known Member

    Joined:
    Jul 13, 2005
    Messages:
    6,587
    Likes Received:
    280
    Trophy Points:
    83
    Location:
    Barnsley, South Yorkshire, United Kingdom
    Home Page:
    Style:
    Barnsley (full width)
    Me too

     Always thinking me [​IMG]
     
  5. Gue

    Guest Guest

    About what? Men?
     
  6. Caz

    Cazi New Member

    Joined:
    Jul 16, 2005
    Messages:
    13,133
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    A completely different planet to everybody else
    Home Page:
    I know who to come to now when I need excel help
     

Share This Page