+ Reply to Thread
Results 1 to 7 of 7

Userform Button to Add Data to an Existing Table

  1. #1
    Registered User
    Join Date
    06-20-2012
    Location
    teachers, hethoz
    MS-Off Ver
    Excel 2010
    Posts
    4

    Userform Button to Add Data to an Existing Table

    I'm creating a userform that needs to update to an existing excel tabel named "CFSData"<BR><BR>I have a submit button (cmdSubmit) that I currently have the following vba for:
    Please Login or Register  to view this content.
    I found that this can only add data to the worksheet (named: "data") which contains the table (CFSData) I would actually like the data to go into .. I need the data to be inserted into the table instead of adding additional rows outside of it...
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-12-2012
    Location
    saudi arabia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Userform Button to Add Data to an Existing Table

    Very nice work .. Great userform

  3. #3
    Registered User
    Join Date
    06-11-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: Userform Button to Add Data to an Existing Table

    There are some extra rows below that table .
    remove those rows it will work as u need.

  4. #4
    Registered User
    Join Date
    06-11-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    86

    Thumbs up Re: Userform Button to Add Data to an Existing Table

    There are some extra rows below that table .
    remove those rows it will work as u need.

  5. #5
    Registered User
    Join Date
    06-20-2012
    Location
    teachers, hethoz
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Userform Button to Add Data to an Existing Table

    @Waffffi .. Thank you!

    Quote Originally Posted by waffffi View Post
    Very nice work .. Great userform

  6. #6
    Registered User
    Join Date
    06-20-2012
    Location
    teachers, hethoz
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Userform Button to Add Data to an Existing Table

    @Md Aejaz, Ok, thank you ... will delete and attempt again ...


    Quote Originally Posted by Md Aejaz View Post
    There are some extra rows below that table .
    remove those rows it will work as u need.

  7. #7
    Registered User
    Join Date
    06-20-2012
    Location
    teachers, hethoz
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Userform Button to Add Data to an Existing Table

    @Md Aejaz, so simple and It worked perfect! I was pulling my hair out, Thank you again!

+ Reply to Thread

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