+ Reply to Thread
Results 1 to 11 of 11

How to change size of popup box using macro/vba

  1. #1
    Registered User
    Join Date
    08-10-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    28

    How to change size of popup box using macro/vba

    Hi,

    I have a problem where a pop up box that contains staff names is not long enough and although it has a scroll bar, it cuts off the last 15-16 names on the list. Is there any way I can change the size? I've tried looking for the "FORM" on vba in excel but for some reason I can't find it in the list of modules, forms and objects etc. There is a macro assigned to a button which allows for the pop up box to show up but I really don't know why I can't find it anywhere in the background.

    Is there any way the person designing this has hidden the "FORM"? If so, how do I unhide it


    Please help me urgently as i need to get this done by today!

    many thanks

  2. #2
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,409

    Re: How to change size of popup box using macro/vba

    We cannot guarantee that this will be solved today.

    Please remember that those who help here do so voluntarily and of their own goodwill. They live in many different time zones and many will be out at work right now if they are not asleep on the other side of the globe. This is not a paid 'service': members will help when they are ready and able to do so, and not 'on demand'. Please do not try to put pressure of time on anyone here: if you get the help you need today, that's fine, but you really should not count on it. Thanks for your understanding and patience.
    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.

  3. #3
    Registered User
    Join Date
    08-10-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    28

    Re: How to change size of popup box using macro/vba

    ok, brilliant. Thanks!
    Last edited by AliGW; 04-13-2018 at 05:07 AM. Reason: Unnecessary quotation removed.

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to change size of popup box using macro/vba

    Are there any dialog sheets in the workbook?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  5. #5
    Registered User
    Join Date
    08-10-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    28

    Re: How to change size of popup box using macro/vba

    stupid question, what do you mean by dialog sheets?

    I can only see objects, forms, modules and class modules
    Last edited by AliGW; 04-13-2018 at 05:19 AM. Reason: Unnecessary quotation removed.

  6. #6
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to change size of popup box using macro/vba

    Dialog sheets are like a kind of worksheet. Are there any hidden sheets in the workbook?

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,409

    Re: How to change size of popup box using macro/vba

    Will you please attach a sample Excel workbook?

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.

  8. #8
    Registered User
    Join Date
    08-10-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    28

    Re: How to change size of popup box using macro/vba

    yes, all the sheets are hidden except 3 but none of them relate to the staff list which I am trying to resize

  9. #9
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: How to change size of popup box using macro/vba

    Are they all regular worksheets?

  10. #10
    Registered User
    Join Date
    08-10-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    28

    Re: How to change size of popup box using macro/vba

    yes normal worksheets with no extra coding

  11. #11
    Registered User
    Join Date
    08-10-2017
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    28

    Re: How to change size of popup box using macro/vba

    removed attached file.

    this post can be closed as solved as I have managed to get the desired results.

    thanks
    Last edited by 5haks; 04-13-2018 at 06:40 AM.

+ 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. Urgent macro to change Alphabetic lettes from english to arabic
    By bmarroush in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2017, 01:53 PM
  2. Macro to change picture size according to cell value
    By jono7gold in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-11-2014, 10:25 AM
  3. URGENT! I need to change a macro so that it updates a sheet in a separate workbook
    By gareth71 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2014, 07:54 AM
  4. [SOLVED] Colour and font size in message popup
    By zugfrig in forum Excel Programming / VBA / Macros
    Replies: 31
    Last Post: 05-29-2013, 07:43 PM
  5. Macro to change Form Button size in all sheets
    By cgkmal in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-27-2011, 06:14 AM
  6. [SOLVED] How do I change a macro's font size?
    By dave60610 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2006, 12:35 PM
  7. URGENT help!!! chart size! Thank you!
    By crossingmind in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 04-28-2005, 01:43 PM

Tags for this Thread

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