+ Reply to Thread
Results 1 to 2 of 2

Centering a Userform after Height Change

  1. #1
    Craig
    Guest

    Centering a Userform after Height Change

    I have a userform that is centered on the screen when first opened. When I
    click a commandbutton on the userform it changes the height of the form...
    How do I make the userform re-center itself again?

    Thanks Again
    Craig



  2. #2
    Erik
    Guest

    RE: Centering a Userform after Height Change

    Hi Craig,

    Maybe not the most clean option but after the change of the height of the
    form insert:
    Me.Hide
    Me.show

    It will sort of refresh the form and center it again

    Regards,

    Erik Kuipers

    "Craig" wrote:

    > I have a userform that is centered on the screen when first opened. When I
    > click a commandbutton on the userform it changes the height of the form...
    > How do I make the userform re-center itself again?
    >
    > Thanks Again
    > Craig
    >
    >
    >


+ 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