+ Reply to Thread
Results 1 to 19 of 19

Excel Office 365 TextBoxes: How Many on a User Form?

  1. #1
    Registered User
    Join Date
    08-31-2019
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    8

    Excel Office 365 TextBoxes: How Many on a User Form?

    How many textboxes can you have on one userform? Currently I have 15, when I attempt to add another I get a "Variable not defined" compile error. Is there a way around this?

    Thanks,
    Rmc
    Last edited by AliGW; 11-03-2019 at 02:59 AM.

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

    Re: Excel Office 365 TextBoxes

    I have had hundreds before now.

    I have just created 45 in a userform without any problem.Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    08-31-2019
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Excel Office 365 TextBoxes

    I'm hoping the attachment is there.

    The main reason I need the extra textboxes is that the dtpicker1, 2 and 3 do not always remember the format assigned.
    The code for UserForm4 has comments that when done will show you the working version and the non-working.

    Thank you for your help.
    Rmc

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

    Re: Excel Office 365 TextBoxes

    No Attachment.

    Edit your file. At the bottom select advance options and towards thebottom select Manage attachements,

  5. #5
    Registered User
    Join Date
    08-31-2019
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Excel Office 365 TextBoxes

    That is what I did. I'll give it a go again.
    Attached Files Attached Files

  6. #6
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,313

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    Grasping at straws, why is the file saved as .xls ???
    If you are using 360 save as .xlsm will give use of more memory.
    Saved as .xls your computer probably only allocating 500mb (thinks it is 32bit).
    As soon as you try to run there appears a massive memory grab.
    torachan.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,461

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    @RmcSsb & Torachan

    There is no such Excel product as Office 360. It is called Office 365 (days in a year), not 360 (degrees in a circle).

    @RmcSsb
    - please update your forum profile to correct this. Thanks.

    @Torachan - there should be no difference in overhead between files saved as .xlsm under Office 365 than any other version - why do you think there is? Also, files do not have to be saved in OneDrive folders if that is an issue.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  8. #8
    Registered User
    Join Date
    08-31-2019
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    Torachan:

    I have reviewed all of my posts in this thread and I can't find ANY reference on my part to Office 360. The only place place I see such a reference is in your post, so ragging on me for a mistake I didn't make is kind of low.

    Also, you didn't answer my question. The code is posted and userform4 is where the compiler errors out.

    Respectively,
    rmc

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,461

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    RmcSsb - your forum profile incorrectly states Office 360. Please change it. Thanks.

  10. #10
    Registered User
    Join Date
    08-31-2019
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    It has been changed. I'm sure this change in my profile is going to make a world of difference.

    Thanks for the tip.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,461

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    Maybe not, but it makes you look more savvy.

    When I open your workbook, I get an error message saying that objects needed are not available on my machine - does your code require access to things in other workbooks?

  12. #12
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,313

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    I did not say there was any difference in overhead when saving .xlsm in any version of windows.
    What I did say is .xls is limited in comparison to .xlsm (by about 12 fold).
    Anyone that has used large sheets with .xls will find themselves memory limited to 65,000 rows if the are lucky compared to 1m with .xlsm.
    However there appears to be more at issue beyond just the number of textboxes.
    Developer > Tools > References at least three libraries missing.
    torachan.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,461

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    Thanks for the clarification, but I was referring to the version of Excel, not Windows. You said this:

    If you are using 360 (sic) save as .xlsm will give use of more memory.
    This implied (to me) that you were suggesting that .xlsm files saved via Excel 365 would be 'heavier' than those saved in other versions. It seems I misunderstood - sorry.

  14. #14
    Registered User
    Join Date
    08-31-2019
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    Yes, I have used several reference libraries in this workbook. I've attached a picture with all of them shown.
    Rmc
    Attached Images Attached Images

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

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    365 does not support the DatePicker.

    Remove all the Datepickers and your Userforms should open.

  16. #16
    Registered User
    Join Date
    08-31-2019
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    mehmetcik,

    I've attached a capture showing the dtpicker and that when selected adds it to the tool box. This is where I got it from. Everything is fine until I attempt to add the 16th textbox.

    What I will do is copy the workbook and remove all references to the dtpicker and see what happens.

    Regards,
    Rmc
    Attached Images Attached Images

  17. #17
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,282

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    Is a particular line highlighted when you get the error?
    Remember what the dormouse said
    Feed your head

  18. #18
    Registered User
    Join Date
    08-31-2019
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    Okay folks, give me a rubber stamp with black ink saying "STUPID." All I had to do to and the 16th textbox was to reference the correct form.
    Once I did that everything worked as advertised.

    I do apologize for the false alarm and thank you all for the research that you all did.

    Thank you and best regards,
    Rmc

    P.S. Now if I could only find the button to close or mark "Resolved" I would do it.

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,461

    Re: Excel Office 365 TextBoxes: How Many on a User Form?

    LOL!!!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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: 4
    Last Post: 04-28-2019, 08:47 AM
  2. Replies: 1
    Last Post: 12-18-2016, 11:47 PM
  3. Replies: 1
    Last Post: 08-07-2016, 05:52 PM
  4. Replies: 4
    Last Post: 05-02-2010, 12:05 PM
  5. Merging excel office data into a publisher office project(Australi
    By Shirl in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 04-16-2006, 04:20 AM
  6. [SOLVED] Unable to access the Office Online Web site in Office 2003, Excel
    By Marcy S in forum Excel General
    Replies: 2
    Last Post: 03-21-2006, 06:00 PM
  7. Replies: 5
    Last Post: 06-24-2005, 03:05 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