+ Reply to Thread
Results 1 to 3 of 3

Macro to loop information into next cell from UserForm

  1. #1
    Registered User
    Join Date
    10-30-2013
    Location
    3938596
    MS-Off Ver
    Excel 2007
    Posts
    2

    Macro to loop information into next cell from UserForm

    Hello all.

    I have been fighting with this problem for a while now.

    I created a userform where I want to be able to enter the number of pages I printed (in a text box), then select what printer I used (option button) and have it enter the information in a cell. Then as I enter more information, I want it to continue to enter in cell A2, A3, A4, etc.

    I have been able to get it to where the userform puts in all of the information I want but only in row 2 but I can not get it to continue on to the next row and so on.

    Can anyone help me.

    Thank you.

    I have attached my excel sheet so you can understand what I am working with.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Macro to loop information into next cell from UserForm

    Hi

    You are over complicating the user form for such a simple task.

    You only need one piece of code for what you are trying to achieve.

    Delete all your code and program the OK button to do all the work.

    I have included a loop to clear the text boxes as a hint towards future development.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-30-2013
    Location
    3938596
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Macro to loop information into next cell from UserForm

    I tried your macro. However, it is entering data on row 11 and it is not looping data. I need it to continue entering data to the next row once one row has data on it.

    Thanks again for your help. I really appreciate it.

+ 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. Solver Macro Loop is cycling twice when UserForm is displayed (shown)
    By durgee7 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2013, 10:26 AM
  2. Replies: 0
    Last Post: 08-19-2013, 05:12 AM
  3. Userform macro that will upload information to multiple worksheets
    By ExcelHacks_99 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-20-2013, 11:09 AM
  4. Replies: 5
    Last Post: 06-20-2012, 05:19 AM
  5. Need a macro to loop evaluation of many textboxes in a UserForm.
    By excelnut1954 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-24-2006, 10:35 PM

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