+ Reply to Thread
Results 1 to 10 of 10

User form data stored in sheet

  1. #1
    Registered User
    Join Date
    10-06-2016
    Location
    india
    MS-Off Ver
    2007
    Posts
    32

    User form data stored in sheet

    I have a form with some code to store the data in sheet, the code is
    Please Login or Register  to view this content.
    here i can't able to insert the data in empty row in between the data, it will insert the data in last row only even if some rows are empty in middle. Please help me to clear this.

    Many thanks in advance

    br,
    COOL SAB
    Last edited by sabeelahmedks; 01-05-2018 at 01:57 AM.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: User form data stored in sheet

    Deleted because OP complied to Forum Rules.
    Last edited by bakerman2; 01-05-2018 at 03:11 AM.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: User form data stored in sheet

    Try this one.
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-06-2016
    Location
    india
    MS-Off Ver
    2007
    Posts
    32

    Re: User form data stored in sheet

    every time it Stores in 4th row, even if the content is there it over writes.
    attached image test.png

  5. #5
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: User form data stored in sheet

    Your blank line at row2 is causing the problem - do you really need a blank row. works fine otherwise

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: User form data stored in sheet

    Quote Originally Posted by sabeelahmedks View Post
    here i can't able to insert the data in empty row in between the data, it will insert the data in last row only even if some rows are empty in middle. Please help me to clear this.
    Try
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    10-06-2016
    Location
    india
    MS-Off Ver
    2007
    Posts
    32

    Re: User form data stored in sheet

    my concept is to insert data on first empty row after that in last

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: User form data stored in sheet

    Then what row do you expect to get from your picture???

  9. #9
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,908

    Re: User form data stored in sheet

    @ jindon
    Typo in Post#6 code ,value instead of .value

  10. #10
    Registered User
    Join Date
    10-06-2016
    Location
    india
    MS-Off Ver
    2007
    Posts
    32

    Re: User form data stored in sheet

    Thanks it works!

+ 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. User form link to data table at sheet
    By x_ampl1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-20-2014, 03:36 AM
  2. [SOLVED] send data from sheet to user form
    By msaric in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-19-2013, 08:51 PM
  3. [SOLVED] User prompted sheet name stored with quotations. I need them gone to be inputted into sub
    By grazian2 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-05-2013, 11:42 AM
  4. [SOLVED] To update stored records via user form
    By Shirly Percy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-09-2012, 01:09 AM
  5. Using User Form to Select Data and Move to New Sheet
    By excelslizzard in forum Excel General
    Replies: 5
    Last Post: 05-09-2012, 02:18 PM
  6. Reading data from a user form into a sheet
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2005, 05:05 PM
  7. Adding data to sheet with user form
    By Jay in forum Excel General
    Replies: 1
    Last Post: 06-08-2005, 11:05 AM

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