Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Inputbox Location on Screen. Can you code it to popup lower on the screen ?

I have an inputbox for entering info when the code is run.
However, the user needs to enter a value that is displayed on the worksheet
the inputbox is run from.
But the inputbox positions itself exactly over the values that are displayed
on the worksheet, and therefore prevent the user being able to view the
values.
Is there a code to position the inputbox, still in the centre but down lower
on the sreen ?

Corey....


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Inputbox Location on Screen. Can you code it to popup lower on the screen ?

Never mind.
Found the X/Y positioning.

:-)

"Corey" wrote in message
...
I have an inputbox for entering info when the code is run.
However, the user needs to enter a value that is displayed on the
worksheet the inputbox is run from.
But the inputbox positions itself exactly over the values that are
displayed on the worksheet, and therefore prevent the user being able to
view the values.
Is there a code to position the inputbox, still in the centre but down
lower on the sreen ?

Corey....



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Inputbox Location on Screen. Can you code it to popup lower on the screen ?

Corey

Help on Inputbox shows you can adjust the xpos and ypos

InputBox(prompt[, title] [, default] [, xpos] [, ypos] [, helpfile, context])

The pos numbers are Twips......1440 twips per inch

Try this.......

Sub hoohah()
mybox = InputBox("Move it down a bit", , , 5000, 5000)
End Sub

Experiment with the position numbers to get it where you want.

0,0 is top left corner


Gord Dibben MS Excel MVP


On Thu, 14 Dec 2006 09:05:17 +1100, "Corey" wrote:

I have an inputbox for entering info when the code is run.
However, the user needs to enter a value that is displayed on the worksheet
the inputbox is run from.
But the inputbox positions itself exactly over the values that are displayed
on the worksheet, and therefore prevent the user being able to view the
values.
Is there a code to position the inputbox, still in the centre but down lower
on the sreen ?

Corey....


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Inputbox Location on Screen. Can you code it to popup lower on the screen ?

What about for a Message Box???
AND a
Yes/No box ???
There does not seem to be a x/y Pos.


Corey....



"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Corey

Help on Inputbox shows you can adjust the xpos and ypos

InputBox(prompt[, title] [, default] [, xpos] [, ypos] [, helpfile,
context])

The pos numbers are Twips......1440 twips per inch

Try this.......

Sub hoohah()
mybox = InputBox("Move it down a bit", , , 5000, 5000)
End Sub

Experiment with the position numbers to get it where you want.

0,0 is top left corner


Gord Dibben MS Excel MVP


On Thu, 14 Dec 2006 09:05:17 +1100, "Corey" wrote:

I have an inputbox for entering info when the code is run.
However, the user needs to enter a value that is displayed on the
worksheet
the inputbox is run from.
But the inputbox positions itself exactly over the values that are
displayed
on the worksheet, and therefore prevent the user being able to view the
values.
Is there a code to position the inputbox, still in the centre but down
lower
on the sreen ?

Corey....




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Eliminate Circular Rerference Popup Screen? Phredrique Excel Discussion (Misc queries) 1 October 4th 08 04:09 AM
Update Values popup screen Eden397 Excel Discussion (Misc queries) 0 December 13th 07 02:24 PM
on my screen lower left, it says calculate - to the right of "read sharilynn Excel Discussion (Misc queries) 2 January 16th 07 05:09 PM
InputBox Screen Position James Montgomery Excel Programming 4 November 10th 04 02:25 PM
Getting around Initials popup screen Wes[_6_] Excel Programming 1 December 12th 03 01:10 AM


All times are GMT +1. The time now is 10:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"