Results 1 to 3 of 3

Userform transfer data into worksheet

Threaded View

  1. #1
    Registered User
    Join Date
    10-31-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    3

    Userform transfer data into worksheet

    Hi, I'm not sure how to explain this in writing.

    What I have is a file for new customer entry, with order quantity entry.

    Textbox1.text would go to the next blank cell in column A, resize 5rows
    Textbox3.text would be entered on the next blank cell on column C
    Then textbox4.text on Column C still
    textbox5.text
    and so on.

    I was hoping to use something similar the below code. i've tried but it kept replacing just one row.

    For i = 2 to 5
    With sheets1
    .cells(lastrow,"C").value = me.controls("Textbox"&i).text
    end with
    Next i

    Thank you
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1