+ Reply to Thread
Results 1 to 3 of 3

GetOpenFileName: Expected Array Error

  1. #1
    Forum Contributor
    Join Date
    05-30-2013
    Location
    France
    MS-Off Ver
    2010
    Posts
    260

    GetOpenFileName: Expected Array Error

    Hi,

    I'm trying to work with the GetOpenFileName function but I'm getting an array error. I've looked in various places but have not been convinced with what I saw. Any ideas on the error ?

    Please Login or Register  to view this content.
    Any help appreciated,
    amphi

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: GetOpenFileName: Expected Array Error

    X has to be a Variant if you're expecting more than one filename.
    David
    (*) Reputation points appreciated.

  3. #3
    Forum Contributor
    Join Date
    05-30-2013
    Location
    France
    MS-Off Ver
    2010
    Posts
    260

    Re: GetOpenFileName: Expected Array Error

    How did I not think of that...thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Compile Error - "Expected array "- when declaring a string variable??
    By wazimu13 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-09-2013, 03:20 PM
  2. [SOLVED] Conflict with GetOpenFilename and Workbooks(x).Close - expected filename and not path
    By knutfh in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-17-2013, 04:48 AM
  3. [SOLVED] Help with Compile Error: Expected Array
    By g8r777 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-05-2012, 11:44 AM
  4. Compile Error: Expected Array
    By abfrempong in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-13-2012, 02:35 AM
  5. Compile Error - Expected Array
    By AccountantCost in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2009, 02:34 PM

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