Consulting

Results 1 to 5 of 5

Thread: Solved: Insert text from last row

  1. #1

    Solved: Insert text from last row

    Can someone assist with a code that will insert the text from the last used cell in column "G" into a userform combo box.

    example: if the last cell in column G has the word "Android", insert "Android" into combobox1

    Thank you for your help

  2. #2
    I found it..thanks

    [VBA]Me.textbox1= Range("G250").End(xlUp).Value[/VBA]

  3. #3
    how can I only look at rows G11:G250 using this code?

    [VBA]textbox1= Range("G250").End(xlUp).Value[/VBA]

  4. #4
    Knowledge Base Approver VBAX Guru GTO's Avatar
    Joined
    Sep 2008
    Posts
    3,368
    Location
    If you are saying that you have other 'stuff' below row 250 in Col G, you'll want to use .Find

  5. #5
    There is no other "stuff" below 250, but I have "stuff" above G11. I just want to search between row G11 & G250, if I have nothing in those cell, then textbox1 should not have a value.
    Last edited by av8tordude; 05-03-2011 at 02:37 AM.

Posting Permissions

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