Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cadcoke3

  1. cadcoke3

    Tracking down "Else without if" error

    I had changed them to multi-line statments and then the "Else without if" error went away. I just tried changing them back into one-liners, and the error came back. It is looking more like there is somthing funny with using the one line IF statments. Joe Dunfee
  2. cadcoke3

    How can I control another programme

    I am using the Sendkeys command to control a non-VBA program right now. However, I've seen people comment that this is not the recommended method if the other program is VBA enabled. When I try to use the prefered method, I use Tools/References menu to give VBA the ability to use commands...
  3. cadcoke3

    Tracking down "Else without if" error

    I do the indenting stuff, but of course, it is prone to human omissions. Thanks, PHV, for the link to the Indenter utility - that is exactly what I've been looking for. --- Zathras said; >The error is "Else without If" so you conclude you have >a missing or extra "END IF" statement? So you...
  4. cadcoke3

    Tracking down "Else without if" error

    I have some VBA code where I get an "Else without If" compile error. So, there is probably a missing,or extra END IF statement somewhere. But, I can't track it down. Is there any trick to help do this? It is not a lot of code, and I have tried searching for all occurances of "if", to no...

Part and Inventory Search

Back
Top