+ Reply to Thread
Results 1 to 11 of 11

How to position pop up on a particular location on screen

  1. #1
    Registered User
    Join Date
    07-13-2013
    Location
    Austin
    MS-Off Ver
    Excel 2007
    Posts
    30

    How to position pop up on a particular location on screen

    Hi All,

    I have a worksheet which contains several option_buttons(YES/NO). On clicking YES(say), a pop up shows up instructing user for his next action.

    I need to control the pop up location on screen.

    For Example:
    For Option_button1 in cell A1(say), the pop up appears in front of it, in cell D1(say).
    .
    .
    .

    For Option_button25 in cell A25(say), the pop up appears in front of that,in cell D25(say)..

    I hope i'm clear in my explanation.

    Kindly advice.

    Thanks

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: How to position pop up on a particular location on screen

    See Chip Pearson's article
    http://www.cpearson.com/Excel/FormPosition.htm
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    07-13-2013
    Location
    Austin
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: How to position pop up on a particular location on screen

    Hi Andy,

    In the link u provided, Chip applies this concept on Userforms, whereas i'm using Msgboxes. How to do the same in MsgBox?

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: How to position pop up on a particular location on screen

    doing it for a userform is much simpler than for the built in msgbox, which does not have position properties,

    but if you want you could try
    http://www.excely.com/excel-vba/defi...l#.UekNR23wrDE

  5. #5
    Registered User
    Join Date
    07-13-2013
    Location
    Austin
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: How to position pop up on a particular location on screen

    ya... i viewed this link earlier. Sadly, couldn't understand it.

    Actually as i mentioned above, i have many option_buttons in my worksheet. So creating userform for each of them will get complex.. That's y thought of avoiding it..

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: How to position pop up on a particular location on screen

    Why would you need a userform for each button? Simply load the form, update a label with the requried text and then show it at the require position.

  7. #7
    Registered User
    Join Date
    07-13-2013
    Location
    Austin
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: How to position pop up on a particular location on screen

    I'm sorry , but i'm a beginner in excel/vb...Could you guide me how to create userform and do it?

    Thanks in advance

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: How to position pop up on a particular location on screen

    can you post an example of what you have so far?

  9. #9
    Registered User
    Join Date
    07-13-2013
    Location
    Austin
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: How to position pop up on a particular location on screen

    Sadly No, because its a confidential thing.. u may give an example with two-three option buttons using single userform(as u said earlier).. I will try an apply it on the entire sheet..

    thanks.

  10. #10
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: How to position pop up on a particular location on screen

    No thanks. Haven't got the time right now to build everything from scratch.
    Maybe some other member can help you out.

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: How to position pop up on a particular location on screen

    try this example
    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: 2
    Last Post: 01-24-2011, 10:50 AM
  2. Screen position
    By nebb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-18-2009, 12:51 PM
  3. Screen position of cell
    By TonyW2 in forum Excel General
    Replies: 4
    Last Post: 01-28-2008, 06:34 AM
  4. Screen position after hyperlinking
    By Lauri S. in forum Excel General
    Replies: 0
    Last Post: 03-29-2006, 11:45 AM
  5. [SOLVED] Position of CellCursor on Screen (absolute position)
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-22-2005, 10:25 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