+ Reply to Thread
Results 1 to 5 of 5

Continue filling cells

  1. #1
    Registered User
    Join Date
    08-10-2013
    Location
    Venezuela
    MS-Off Ver
    Excel 2010
    Posts
    18

    Continue filling cells

    Hi Everybody.

    I'm trying to fill a column with numbers (TEXT format to support 000 as text) and other column with numbers (currency format) from a userform, I've attached the sample to get help from you, I don't know where I'm wrong but not work, the function is, when userform pop the first textbox will be selected and the user will introduce a number, minimun 2 digits and maximun 3 digits, numbers must be text format because I need to see as example the number 003, or 023 with 3 digits in the sheet.

    When first number is in the textbox must to be writed this value to range C:C looking for the next free cell down, when enter key the second textbox will be selected and able to write in numbers in currency format with a maximun of 10$ determined by a variable, then the user introduce a value in numbers minimun 0,10$ and maximun of 10$ and when enter this value will be sended to the column D:D in the same row and the first textbox will be erased and ready to write other number, and so. the cycle continues writing numbers and amounts till close the userform.

    Thanks for your help in advance

    Attached Files Attached Files

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Continue filling cells

    Hi Alendi, see if this is what you wanted?
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-10-2013
    Location
    Venezuela
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Continue filling cells

    Hi Millz
    Thanks for your solution, it work good, only a little detail, the number in textbox2 is currency format but not need "$" sign in it, also when enter a decimal number like 2.25 the enter key doesn't work, I was trying again with help but can't see, can you help again?
    Thanks in advance

  4. #4
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Continue filling cells

    Hi Alendi, try again
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-10-2013
    Location
    Venezuela
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Continue filling cells

    Thanks Millz
    It work good, this is what I want, thanks again.
    If have other problem I´ll thread it ok? I´m trying to make an application but need to learn so much VBA
    Thanks

+ 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. Replies: 1
    Last Post: 10-24-2012, 01:21 PM
  2. [SOLVED] The cells pasted continue to end of row
    By gujugolf in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2012, 08:41 PM
  3. Replies: 2
    Last Post: 06-14-2012, 05:14 AM
  4. Filling cells
    By dlyliny7203 in forum Excel General
    Replies: 2
    Last Post: 03-25-2011, 02:32 PM
  5. Filling in MOST cells, in a Row?
    By hamtester in forum Excel General
    Replies: 8
    Last Post: 04-23-2007, 12:14 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