+ Reply to Thread
Results 1 to 8 of 8

Compile error do without loop

  1. #1
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Compile error do without loop

    Please guide me to remove the compile error 'do without loop'. After removing error the message should automatically sent to recipient which is in column 'z' at present in cell 'z8' only.

    Thanking you in anticipation.

    Mukesh
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Compile error do without loop

    You have two Do's and one Loop Until

    One here:

    Please Login or Register  to view this content.
    And one here:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Compile error do without loop

    Dear JOHN H. DAVIS
    Thank you for solution but I might have made a mistake. Now the error is as follows:

    'Compile error: invalid or unqualified reference'

    Please do the ammendment in my code to avoide mistake from me. I'm confused here.

    Thanking you in anticipation.

    Mukesh



    ,
    Attached Files Attached Files

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Compile error do without loop

    Perhaps.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  5. #5
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Compile error do without loop

    Hello Norie,
    Thank you. The main problem is solved but I'm getting another error here. It's as follows:

    'Run time error '3749':
    Fields updates failed. For further information, examine the status property of individual fields objects.'

    Please see the attached file and remove error.

    Thank you for quick response with solution.

    Thanking you in anticipation.

    Mukesh




    ,
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Compile error do without loop

    Dear John,
    Please see the amended copy attached here and solve my problem.
    Thank you.

    Mukesh
    Last edited by mukeshbaviskar; 08-29-2013 at 08:30 PM.

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643
    Mukesh

    This is getting a bit confusing.

    Did the code I posted solve the problems with compiling, which is the subject of this thread?

    If the answer is yes then please mark this thread as SOLVED.

  8. #8
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Compile error do without loop

    Ok! As per the title of this thread the problem is solved.

    Thank you for cooperation.

    Mukesh

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Compile Error in Hidden Module and Compile Error: Can't find project or library
    By Taislin in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-10-2013, 07:03 PM
  2. Loop without Do compile error
    By Dulanic in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-09-2010, 12:12 PM
  3. Compile Error: Loop without Do
    By iii in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-24-2009, 06:41 PM
  4. Compile Error: Loop without Do
    By cedtech23 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-01-2006, 07:58 PM
  5. Compile error: Loop WIthout Do
    By darin kelberlau in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2005, 01:55 PM

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