Results 1 to 5 of 5

if Then = debug error

Threaded View

garretonufer if Then = debug error 09-23-2009, 03:50 PM
shg Re: if Then = debug error 09-23-2009, 03:55 PM
garretonufer Re: if Then = debug error 09-23-2009, 03:57 PM
shg Re: if Then = debug error 09-23-2009, 04:00 PM
Marzuk Re: if Then = debug error 09-23-2009, 04:00 PM
  1. #1
    Forum Contributor
    Join Date
    07-28-2009
    Location
    Orange County, CA
    MS-Off Ver
    Excel 2007
    Posts
    115

    if Then = debug error

    Why does this give me a debug error?
    Sub Players()
    If Range("B5") = "1" Then
        Range ("G16") + 1
    End If
    End Sub
    I get a debug error saying
    "Compile error: Invalid use of Property"

    and it highlights "Range" in the second line of Range("G16") +1
    Last edited by garretonufer; 09-23-2009 at 05:19 PM.

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