+ Reply to Thread
Results 1 to 2 of 2

Syntax error

  1. #1
    Registered User
    Join Date
    12-06-2004
    Location
    Eldorado, Texas
    Posts
    24

    Syntax error

    Do you see a syntax error in this? Especially in the second line.


    Private Sub SpinButton1_Change()

    If SpinButton1 >= -1 And SpinButton1 _

    <= 1 Then dDate = Calendar1

  2. #2
    Forum Contributor
    Join Date
    11-16-2004
    Posts
    282

    Syntax error

    David,

    See changes in BOLD:

    Private Sub SpinButton1_Change()

    If SpinButton1.Value >= -1 And SpinButton1.Value _

    <= 1 Then dDate = Calendar1

    Hope this Helps,
    theDude

+ 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