+ Reply to Thread
Results 1 to 4 of 4

Screen positioning inputbox that is set as Application.InputBox

  1. #1
    Forum Contributor
    Join Date
    10-01-2010
    Location
    Jakarta
    MS-Off Ver
    Excel 2003
    Posts
    101

    Screen positioning inputbox that is set as Application.InputBox

    Set srng = Application.InputBox(prompt:= _ "Select Period", Type:=8)

    How to set input box Title and position on screen via xpos and ypos parameters?
    Last edited by vdongen; 10-08-2010 at 05:20 AM.

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

    Re: Screen positioning inputbox that is set as Application.InputBox

    the inputbox method has a Left and Top argument

    Left Optional Variant. Specifies an x position for the dialog box in relation to the upper-left corner of the screen, in points.

    Top Optional Variant. Specifies a y position for the dialog box in relation to the upper-left corner of the screen, in points.
    A quick test would suggest the position is in relation to the application and not the screen.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    10-01-2010
    Location
    Jakarta
    MS-Off Ver
    Excel 2003
    Posts
    101

    Re: Screen positioning inputbox that is set as Application.InputBox

    Could you give a sample of the code?

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

    Re: Screen positioning inputbox that is set as Application.InputBox

    seriously

    Please Login or Register  to view this content.

+ 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