Results 1 to 7 of 7

Thread: (Help) Dir Function in Module..

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2009
    Location
    Philippines
    Posts
    36

    (Help) Dir Function in Module..

    hello guys..

    i tried this code in my module
    Code:
    Public Const sPath As String = Dir("C:\Sample.txt", vbNormal Or vbHidden)
    and got this error:
    Constant Expression Required
    what should i do.?

    thnx in advance..
    Last edited by TRENDcafe; May 28th, 2009 at 02:06 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width