View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default visual basic prompt data entry

Dim myStr as string
....
mystr = inputbox(Prompt:="Please enter something")
if trim(mystr) = "" then
msgbox "you didn't enter anything"
else
msgbox mystr & " was entered"
end if




BG Mark wrote:

How can I get visual basic to prompt the user for a data entry that will
subsequently be used in an autofilter.


--

Dave Peterson