+ Reply to Thread
Results 1 to 2 of 2

How Do I Tell My Userform Which Range of Cells To Update?

  1. #1
    Registered User
    Join Date
    08-05-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    53

    How Do I Tell My Userform Which Range of Cells To Update?

    Hi,

    I have been playing about with Excel spreadsheets this week and I have made just a basic sheet to collate some data. I also would like a user form to update the data from one place.

    I have a form made with a text box and label for each of my 7 columns and it works OK. The problem is that my sheet has a range of data cells - B5:H50. I also have some text in the columns to the right of my data range for information.

    So, my userform initially finds the next empty cell at A13. A is the first column but it only acts as a left border. 13 is the row below my text to the right hand side.

    Data is only inserted by the form from A13 onwards and I would like to tell my form to only update data within my range - B5:H50. My code is shown below from a basic example I found online.

    Can anybody help please?

    Thanks
    Stuart

    ----------------------------------------

    Please Login or Register  to view this content.
    Last edited by Cutter; 08-05-2012 at 06:54 AM. Reason: Added code tags

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How Do I Tell My Userform Which Range of Cells To Update?

    @ stuu3270

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
    Thanks.

+ 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