Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Input Box

Status
Not open for further replies.

braven

Programmer
May 20, 2009
58
CA
how do i enter inputbox like fiscal year and perid
exampleUserInput = InputBox ("FISCAL YR 2009 PER 08 "
but it changes year and period
is it somthing "FISCAL YR (YR) PER (n+1)
 
i found in this website.
now i have another issue
USERINPUT = INPUTBOX ('ENTER PERIOD')
how to do F 'FISCAL YR(YEAR(NOW)PER USERINPUT'
i tired
Myscreen.sendkeys("F ")
Myscreen.sendkeys(''FISCAL YR(YEAR(NOW)PER USERINPUT'
)
it gives syntax errror.
 
please anyone help me the below one
MyScreen.SendKeys("F")
MyScreen.SendKeys("'" + "FISCAL YR"+MyYear + "per" + UserInput + "'")
i need space befwwe Myyear and per and space between per and userinput
userinput = Input("enter period")
Myyear = year(now())
it sends F 'FISCAL YR2009PER09
 
i found out from this website
this is the right one
MyScreen.SendKeys(" '" + " FISCAL YR "+ +MyYear + " PER " + UserInput + "'")
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top