+ Reply to Thread
Results 1 to 2 of 2

copy and paste from text boxes

  1. #1
    enyaw
    Guest

    copy and paste from text boxes

    I need to copy information from 8 textboxes into an excel sheet. I need the
    information copied across a row and each item from each textbox needs to be
    copied into a seperate cell. I also need to be able to copy this information
    into the next empty row. Anyone know how to do this?

  2. #2
    Toppers
    Guest

    RE: copy and paste from text boxes

    Next row in column A

    nextrow=cells(rows.count,"A").end(xlup).row+1

    Assigning data:

    Cells(nextrow,"A")=textbox1.value
    Cells(nextrow,"B")=textbox2.value
    etc

    You should qualify with w/sheet name

    With worksheets("Sheet1")
    nextrow=.cells(rows.count,"A").end(xlup).row+1
    .Cells(nextrow,"A")=textbox1.value
    etc
    end with

    HTH

    "enyaw" wrote:

    > I need to copy information from 8 textboxes into an excel sheet. I need the
    > information copied across a row and each item from each textbox needs to be
    > copied into a seperate cell. I also need to be able to copy this information
    > into the next empty row. Anyone know how to do this?


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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