Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Get User Input

Philip

Public Sub who_is_it()
Dim somename as String
somename = InputBox("Enter your name")
MsgBox "your name is " & somename
End Sub

Gord Dibben Excel MVP - XL97 SR2 & XL2002


On Wed, 23 Jul 2003 09:12:37 -0700, "Philip Perez"
wrote:

Is there a way to get a user's input while executing a
macro in Excel? I would like to have the user who is
running the macro enter a string or number, and then store
their response in a variable declared within the macro.


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
Prompt user for input and utilize that input ninner Excel Worksheet Functions 2 March 28th 07 09:44 PM
Looking for help with user input variable€¦ Steve Excel Discussion (Misc queries) 2 January 31st 07 04:31 PM
Have user input converted to uppercase in same cell as input? Shannonn New Users to Excel 1 June 20th 06 03:19 AM
Sort Without User Input guilbj2 Excel Discussion (Misc queries) 2 May 12th 06 03:22 AM
Get User Input pancho[_6_] Excel Programming 0 July 23rd 03 05:23 PM


All times are GMT +1. The time now is 08:57 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"