1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Entry Data using a userform in a particular range

Discussion in 'VBA Macros' started by S. Das, Feb 9, 2019.

  1. S. Das

    S. Das Member

    Messages:
    92
    Hi all,

    I want to make a worksheet where I will enter data using a userform, and the from the userform, data will come to the desired worksheet range.

    In the desired page I want to add data from row 11 to 20. I have 4 columns i.e, ID, First Name, Last Name, Designation.

    Please help.

    Thanks in advance.

    Attached Files:

  2. Kenneth Hobson

    Kenneth Hobson Active Member

    Messages:
    245
    Please create the Userform with 4 Textbox controls and the Command Buttons you want. If you add the Column letter to the TextBox controls Tag property, that can be used to insert the value. You might want to add 4 Label controls by the TextBox controls to explain the value type needed.

    One Command Button would be to Insert the values, and the other might be to close/unload the userform.

    We can then more easily help with the code.
  3. ANKUSHRS1

    ANKUSHRS1 Member

    Messages:
    63
    here is a solution. if it works don's forget to hit like.

    Attached Files:

    S. Das likes this.
  4. Belleke

    Belleke Active Member

    Messages:
    549
    My version with a table.

    Attached Files:

    S. Das likes this.
  5. S. Das

    S. Das Member

    Messages:
    92
    Thank you so much for your quick support.

    Can you please help me with one more thing?

    I want to delete any data by entering the ID in a userfom. I will just enter the desired ID and a button will press the excel will delete all the data according to that id and push rest lower range data (which are present below deleted row) to upward to fill the blank, which is created due to deletion.
  6. Belleke

    Belleke Active Member

    Messages:
    549
    My version with a delete button.
    Make a selection in the list to delete.

    Attached Files:

    S. Das likes this.
  7. S. Das

    S. Das Member

    Messages:
    92

Share This Page