+ Reply to Thread
Results 1 to 3 of 3

How do I pass a FSO (FileSystemObject) as an argument to a function?

  1. #1
    Registered User
    Join Date
    07-15-2013
    Location
    U.S.
    MS-Off Ver
    Excel 2007
    Posts
    14

    How do I pass a FSO (FileSystemObject) as an argument to a function?

    Hey all, I'm new to VBA so go easy :p

    I'm simply just don't know how to get this to work properly.

    Runtime error '348': Object doesn't support this property or method

    HTML Code: 

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: How do I pass a FSO (FileSystemObject) as an argument to a function?

    ()'s is your issue. Do this:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-15-2013
    Location
    U.S.
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: How do I pass a FSO (FileSystemObject) as an argument to a function?

    Thank you so much! It works!

+ 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] how to pass a label as an argument
    By dmcgov in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-23-2020, 09:37 AM
  2. [SOLVED] Pass Sheet name as argument to function
    By Umair.711 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-04-2014, 07:20 AM
  3. VBA Argument pass to DLL Issue
    By DougD720 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-27-2014, 09:11 PM
  4. [SOLVED] GetFolder Method of FileSystemObject Fails On Second Pass
    By goss in forum Excel General
    Replies: 4
    Last Post: 11-14-2012, 01:27 PM
  5. [SOLVED] Pass function as argument to UDF
    By Ron Rosenfeld in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-09-2006, 08:55 AM
  6. Pass Argument?
    By Hal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2005, 01:20 PM
  7. Function (array argument, range argument, string argument) vba
    By Witek in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2005, 11:07 AM

Tags for this Thread

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