+ Reply to Thread
Results 1 to 3 of 3

Have a textbox value populate a certain range of cells only

  1. #1
    Forum Contributor
    Join Date
    08-10-2014
    Location
    Alberta
    MS-Off Ver
    2016
    Posts
    128

    Have a textbox value populate a certain range of cells only

    I already have code to populate cells after multiple times of entering it in a userform. I also have other cells that are being occupied along the same row for another reason. What I am having trouble with is that I have a msgbox that shows up when the first row that is being populated reaches over 3 (or the 5 column). I want it to pop up only if the three has been reached and not count further down the row.

    Can I make it so that the msg box does not count the cells later along the same row (column 6 and higher)?

    Here is my current code:
    Please Login or Register  to view this content.
    I have also attached the file in case that helps more.
    Attached Files Attached Files
    Last edited by Templemind; 09-11-2014 at 08:08 AM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Have a textbox value populate a certain range of cells only

    I'm not sure I follow what you want, but maybe try something like this...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    08-10-2014
    Location
    Alberta
    MS-Off Ver
    2016
    Posts
    128

    Re: Have a textbox value populate a certain range of cells only

    That is what I wanted, thank you. Keep trying to learn, but there are so many rules that I do not know. I think I am going to buy a book soon

+ 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. [SOLVED] lookup a range of cells and populate specific cells based on matching data
    By RobertM01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2014, 08:18 PM
  2. Populate a textbox on Userform with data from a filtered range using VBA
    By newbi004 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2014, 04:20 AM
  3. Populate TextBox from Module prior to opening TextBox
    By Dabbler39 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-05-2013, 05:50 PM
  4. named range to populate default textbox value in User form-initialize
    By coasterman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-04-2012, 09:08 AM
  5. [SOLVED] UserForm TextBox and ComboBox selections populate SPECIFIC spreadsheet cells
    By ZIXILPLIX in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-23-2010, 02:45 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