LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 661
Default No clue whatsoever, so thought I'd ask the experts Pt II

Thanks for your help Guys n Dolls...

Next...

If I created my own UserForm to make it look like I wanted, would I still be
able to use this VB Code? How would I then enter Open and Close boxes?

Secondly on the VB below, how would you write it so that only a certain
amount of characters can be typed in the answer e.g I want a 32 character
length cell size

Thx

Paul

"Gary''s Student" wrote:

Good catch!

The universe keeps telling me to use Option Explicit; some day I will learn
to listen.
--
Gary''s Student - gsnu200829


"Susan" wrote:

TYPO ALERT

For i = 0 To 2

that's a zero, not a letter o.

:)
susan


On Jan 27, 10:15 am, Gary''s Student
wrote:
How about:

Sub AskMeNoQuestions()
Dim s(3)
s(0) = "What is the meaning of life?"
s(1) = "How many neutrinos are there in the universe?"
s(2) = "Why are the key pads on phones and computer keyboards different?"
For i = o To 2
x = Application.InputBox(prompt:=s(i), Type:=2)
j = i + 1
Cells(j, 1).Value = s(i)
Cells(j, 2).Value = x
Next
End Sub


 
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
No clue whatsoever, so thought I'd ask the experts Paul Excel Programming 10 January 28th 09 08:01 AM
I have no clue about how to use vba amy howell Excel Discussion (Misc queries) 0 May 6th 08 01:31 AM
Haven't got a clue!!! DarrenG[_4_] Excel Programming 2 July 24th 06 12:59 PM
Have not a clue how to do this DTTODGG Excel Programming 1 July 17th 06 09:39 PM
I have not got a clue emailreynolds Excel Discussion (Misc queries) 1 August 25th 05 06:12 PM


All times are GMT +1. The time now is 03:39 PM.

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"