+ Reply to Thread
Results 1 to 2 of 2

how to copy data using add button

Hybrid View

  1. #1
    Registered User
    Join Date
    02-06-2005
    Posts
    1

    Exclamation how to copy data using add button

    Plz help me.
    i recently need to copy data from user to second row if add button click.

  2. #2
    Registered User
    Join Date
    12-29-2004
    Posts
    12
    What data does user want to copy. Following copies row 1 to row 2. You can change code to suit ur needs.

    ~BS

    [code]

    Sub CommandButton1_Click()
    Rows("1:1").Select
    Selection.Copy
    Range("A2").Select
    ActiveSheet.Paste
    Range("A3").Select
    End Sub

    [\code]

+ 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