+ Reply to Thread
Results 1 to 6 of 6

Help setting up userform to go to next blank row in range b37:b67 ONLY

  1. #1
    Registered User
    Join Date
    07-16-2023
    Location
    Las Vegas, NV
    MS-Off Ver
    365
    Posts
    3

    Help setting up userform to go to next blank row in range b37:b67 ONLY

    Ok so i have been trying to figure this out for weeks now and i am desperate. I need to be able to configure the userform that is attached to the button you will see under the RESCHEDULES section named ADD R/S. I need to be able to have the userform look for the next blank row and insert the data only between the rows B37:B67. I cannot only use a column as it needs to stay within this specific range. Is this even possible? i have attached the sample sheet for you thanks in advance!!
    Attached Files Attached Files
    Last edited by KBYERS; 07-16-2023 at 09:45 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,858

    Re: Help setting up userform to go to next blank row in range b37:b67 ONLY

    There is no code in this file. The button runs a macro in another file that you did not provide.

    Maybe this will help:
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    07-16-2023
    Location
    Las Vegas, NV
    MS-Off Ver
    365
    Posts
    3

    Re: Help setting up userform to go to next blank row in range b37:b67 ONLY

    sorry about that i attached the correct one to the original post

  4. #4
    Registered User
    Join Date
    07-16-2023
    Location
    Las Vegas, NV
    MS-Off Ver
    365
    Posts
    3

    Re: Help setting up userform to go to next blank row in range b37:b67 ONLY

    no that doesnt work i just get the message that no more blank rows in that range?? Every one of the rows in that range are blank i am so confused

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,858

    Re: Help setting up userform to go to next blank row in range b37:b67 ONLY

    OK bug in my code forgot about the case where they are all blank. Hang on.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,858

    Re: Help setting up userform to go to next blank row in range b37:b67 ONLY

    You didn't say where in the code this is. The only place I can find that looks for a row is in CommandButton1_Click. I have modified your code with a correction. But I don't know how to use your file so I ran a test in my file, but not yours.
    Attached Files Attached Files

+ 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: 9
    Last Post: 01-02-2023, 08:37 AM
  2. Userform to enter new data in first blank cell of a dynamic range
    By dsrt16 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-08-2018, 12:02 AM
  3. [SOLVED] Setting range of VBA userform embedded spreadsheet
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-08-2015, 02:47 AM
  4. Replies: 1
    Last Post: 07-23-2014, 12:13 PM
  5. I Filter range A9:AG300 using listbox(userform) hide all from range blank cells
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2014, 03:28 AM
  6. [SOLVED] Troubles: setting userform- Textbox1 as a range
    By baggypants in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-03-2013, 01:55 PM
  7. Setting values in a Userform
    By EJH in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2011, 05:58 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