+ Reply to Thread
Results 1 to 2 of 2

Compile Error - Expected Array

  1. #1
    Registered User
    Join Date
    05-28-2008
    Posts
    49

    Compile Error - Expected Array

    I keep getting a "Compile Error - Expected Array" error message at

    prompt = "How many text lines will unique product number " & ModifyUniqueProduct & " have?"
    Caption = "Modify Customer Order Information"
    Default = 1
    ReDim ModifyNumberofProductLines(Val(InputBox(prompt, Caption, Default)) - 1)

    What have I coded incorrectly?

    Thanks!

    Please Login or Register  to view this content.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Compile Error - Expected Array

    I've not looked in detail but the Variable is not declared as an Array - thus can not be ReDim'd

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1