+ Reply to Thread
Results 1 to 3 of 3

how to fix do while loop for find macros

  1. #1
    Registered User
    Join Date
    08-19-2012
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2010
    Posts
    62

    how to fix do while loop for find macros

    I need help with this macros I've been working on.
    I'd really appreciate any help to correct this code!

    Everytime I run this macros, I get this error:

    Compile Error:
    Loop without Do


    Please Login or Register  to view this content.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: how to fix do while loop for find macros

    Hi, lottidotti,

    it´s not that error but to my opinion you´re missing an End If argument instead:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    08-19-2012
    Location
    Pennsylvania, USA
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: how to fix do while loop for find macros

    Holger,
    you were absolutely correct about the 'End If' argument missing.
    Attached Files Attached Files
    Last edited by lottidotti; 12-15-2012 at 12:36 PM. Reason: problem solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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