ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Inputbox (https://www.excelbanter.com/excel-programming/410359-inputbox.html)

Ewing25

Inputbox
 
How do i get an input box to only come up once when the sheet is open?



Don Guillett

Inputbox
 
Right click sheet tabview codeleft window worksheetright window
activateput code there

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ewing25" wrote in message
...
How do i get an input box to only come up once when the sheet is open?




Ewing25

Inputbox
 
What do you mean left window activate, right window activate?

"Don Guillett" wrote:

Right click sheet tabview codeleft window worksheetright window
activateput code there

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ewing25" wrote in message
...
How do i get an input box to only come up once when the sheet is open?





Jeff Johnson[_2_]

Inputbox
 
"Don Guillett" wrote in message
...

Right click sheet tabview codeleft window worksheetright window
activateput code there


It might be a little easier for new people to follow if you said "left/right
dropdown" instead of "window". I'm an experienced programmer and it took me
a few seconds to figure out what you were saying....



Ewing25

Inputbox
 
Ohhh i gotchya... I did that but i only want it to show up when you click on
the tab the first time, not everytime you click on the tab.



"Jeff Johnson" wrote:

"Don Guillett" wrote in message
...

Right click sheet tabview codeleft window worksheetright window
activateput code there


It might be a little easier for new people to follow if you said "left/right
dropdown" instead of "window". I'm an experienced programmer and it took me
a few seconds to figure out what you were saying....




Don Guillett

Inputbox
 
I've noticed that programmers have that problem.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Jeff Johnson" wrote in message
news:mfmdnVOA_5I7i4bVnZ2dnUVZ_u6dnZ2d@datapex...
"Don Guillett" wrote in message
...

Right click sheet tabview codeleft window worksheetright window
activateput code there


It might be a little easier for new people to follow if you said
"left/right dropdown" instead of "window". I'm an experienced programmer
and it took me a few seconds to figure out what you were saying....



Don Guillett

Inputbox
 
Put ALL of this in the sheet module
'==========
Public mycheck

Private Sub Worksheet_Activate()
If mycheck = 1 Then Exit Sub
x = InputBox("enter number here")
MsgBox x
mycheck = 1
End Sub
'=========
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Ewing25" wrote in message
...
Ohhh i gotchya... I did that but i only want it to show up when you click
on
the tab the first time, not everytime you click on the tab.



"Jeff Johnson" wrote:

"Don Guillett" wrote in message
...

Right click sheet tabview codeleft window worksheetright window
activateput code there


It might be a little easier for new people to follow if you said
"left/right
dropdown" instead of "window". I'm an experienced programmer and it took
me
a few seconds to figure out what you were saying....





Ewing25

Inputbox
 
Thanks! it worked but i found a different way id like to do it. I posted a
question called Simple Autofilter.

"Ewing25" wrote:

How do i get an input box to only come up once when the sheet is open?




All times are GMT +1. The time now is 09:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com