+ Reply to Thread
Results 1 to 6 of 6

open a userform next to the selected cell

  1. #1
    Registered User
    Join Date
    09-18-2003
    Posts
    39

    open a userform next to the selected cell

    Hello,
    I solve part of my calendar problem by integrating the calendar into a userform. But I would like the user form to open right next to the selected cell, here what I did:
    - I set the StartUpPosition property at "0-Manual"
    - I had some line these lines in the Sub UserForm_Initialize():
    Please Login or Register  to view this content.
    As result I got the UserForm that seems to follow some rules, but that is not at the proper location!!
    Any idea what I did wrong?
    Thx

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    This might help

    http://cpearson.com/excel/FormPosition.htm
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    09-18-2003
    Posts
    39
    yes it helps, my problem is solved,
    thx,
    D
    ps: are you the only one who ever reply on this forum?!! Thx 4 your time.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Quote Originally Posted by chibouki
    yes it helps, my problem is solved,
    thx,
    D
    ps: are you the only one who ever reply on this forum?!! Thx 4 your time.
    No there's many helpers

  5. #5
    Registered User
    Join Date
    03-08-2013
    Location
    Japan
    MS-Off Ver
    Excel for Mac 2011
    Posts
    19

    Re: open a userform next to the selected cell

    Many years later... but this code is not working for me. I have tried it both in the userform initialise as well as the module sub that calls the form to open

    Am i doing it wrong?
    Perhaps does this code not work with Excel for Mac?

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,621

    Re: open a userform next to the selected cell

    @tygrrboi,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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