+ Reply to Thread
Results 1 to 2 of 2

how do I copy from textbox or combobox into a cell

  1. #1
    Peterke
    Guest

    how do I copy from textbox or combobox into a cell

    Hi,

    I'm trying to create a userform with textboxes and comboboxes, but don't
    know how to cut & paste from a textbox or combobox into a single cell on the
    worksheet using a commandbutton.

    Can someone help me please?



  2. #2
    Nigel
    Guest

    Re: how do I copy from textbox or combobox into a cell

    Use an event for the commandbutton to copy the contents of the textbox or
    combobox.

    Eg.....

    Private Sub CommandButton1_Click()
    Worksheets("Sheet1").Range("A1") = TextBox1.Value
    End Sub


    --
    Cheers
    Nigel



    "Peterke" <[email protected]> wrote in message
    news:%[email protected]...
    > Hi,
    >
    > I'm trying to create a userform with textboxes and comboboxes, but don't
    > know how to cut & paste from a textbox or combobox into a single cell on

    the
    > worksheet using a commandbutton.
    >
    > Can someone help me please?
    >
    >




+ 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