+ Reply to Thread
Results 1 to 3 of 3

Compile Error: Expected Expression, Syntax Error

  1. #1
    Registered User
    Join Date
    05-09-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Compile Error: Expected Expression, Syntax Error

    I'm having a problem remembering what I need to do to make this declaration work. I'm getting a compile (syntax) error when trying to delare this variable....

    PHP Code: 
    Dim NextFriday As String
        
     NextFriday 
    TODAY()-WEEKDAY(TODAY(),3)+IF(WEEKDAY(TODAY(),3)>4,11,4

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Compile Error: Expected Expression, Syntax Error

    Hi

    Try this

    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    05-09-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Compile Error: Expected Expression, Syntax Error

    That worked great, thank you!

+ 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