Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I tried to build a sub to retrieve some values (numbers, boolean, string) with the InputBox method using Type:=64, Sub Test() Dim tableau() as Variant tableau = Application.inputBox("Essai", Type:=64) Debug.Print tableau(2) End Sub Debuging the project gives no error Running the Sub, I write in the InputBox "AAA",25,"BBB",64 As soon as I hit OK I get an error, type incompatible. First : Is my sub correct ? If it is, How can I write the elements of the Array in the InputBox? The Excel Help file does not give an example for this type of entry Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
InputBox Help | Excel Discussion (Misc queries) | |||
InputBox | Excel Programming | |||
Methode 'Cells' of object '_Worksheet' failed | Excel Programming | |||
Inputbox and Application.InputBox | Excel Programming | |||
InputBox | Excel Programming |