Thread: help with array
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
bobh bobh is offline
external usenet poster
 
Posts: 11
Default help with array

Hi All,

In Excel 2003 I'm trying to make a variable an array and store the
values entered by a user using an inputbox and I'm failing badly.....
below is what I tried but it does not work so how do I do that?
thanks
bobh.

'input looks like this -- 3,8,19,21,36
Dim PRange() As Integer
PRange() = InputBox("Enter up to 5 page nbr's to print, seperated
by a comma( , )", "Enter Page Nbrs")