Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default INKEY and VBA

Hi,

Is there a VBA equivalent to INKEY to get input from the
keyboard?

Regards

John
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default INKEY and VBA

Hi John,

You're probably looking for InputBox:

Dim sAnswer As String

sAnswer = Application.InputBox("Please enter text:","TEST","Default")

MsgBox sAnswer

--
Regards,

Jake Marx
www.longhead.com


John Hayes wrote:
Hi,

Is there a VBA equivalent to INKEY to get input from the
keyboard?

Regards

John

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
Replacement for INKEY$ JackHouck Excel Programming 2 July 23rd 03 01:12 AM


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

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

About Us

"It's about Microsoft Excel"