+ Reply to Thread
Results 1 to 3 of 3

Copy Paste value data from form

  1. #1
    Registered User
    Join Date
    12-31-2014
    Location
    HCM
    MS-Off Ver
    2007
    Posts
    8

    Copy Paste value data from form

    I want to ask vba code to copy paste value the data into multiple worksheets with sheet name.

    Thank you

    Try it but not work
    Attached Files Attached Files
    Last edited by hacke.r; 01-29-2015 at 11:15 AM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy Paste value data from form

    58 views and no responce.

    That will indicate that the question is not clear enough to the foummembers.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    12-31-2014
    Location
    HCM
    MS-Off Ver
    2007
    Posts
    8

    Re: Copy Paste value data from form

    I'm sorry, my main language is not English.
    Copy sheet "form" from data sheet "data" but copy paste value. => sheet Richards, sheet Jill, Sheet Mary....
    Code:
    PHP Code: 
    Sub CopyForm()
         
    Dim Arr(), SheetName As StringAs Long
         
         Arr 
    Sheet2.Range("A1:G12").Value
              
    For 1 To UBound(Arr1)
                   If 
    Arr(i2) = "" Then Exit Sub
                        SheetName 
    Arr(i1'cot B
                        If isValidSheetName(SheetName) Then
                             If Not SheetExists(SheetName) Then
                                  With ActiveWorkbook.Worksheets("Form")
                                 .Copy After:=Sheets(Sheets.Count)
                                  End With
                                  With ActiveSheet
                                       .Name = SheetName
                                       .Range("RowIndex") = i   '
    C3 sheet Form
                                  End With
                             End 
    If
                        
    End If

              
    Next
              Erase Arr
    End Sub 

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy/Paste form another excel workbook overrides data validation.
    By adibakhan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2014, 01:09 AM
  2. Copy Data from form field and paste into worksheet cell
    By azhark in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2013, 04:47 PM
  3. Easiest way to Copy/Paste data from Recurring Form to an Historical Data Sheet
    By willy91785 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-15-2010, 02:11 PM
  4. Copy cell data and paste it into textbox on form
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2009, 09:33 AM
  5. Replies: 1
    Last Post: 01-04-2005, 06:06 PM

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