Results 1 to 4 of 4

Thread: Solved: Add ListBox selections to specific cell range

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,954
    Location
    The 2nd line is to insure that your input will be put in B5 if no data occurs from B5 and down.

    [vba]Set cell = ActiveSheet.Range("B" & Rows.Count).End(xlUp)
    If cell.Row < 5 Then Set cell = Range("B5")[/vba]
    Last edited by Kenneth Hobs; 12-18-2008 at 02:05 PM.

Posting Permissions

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