+ Reply to Thread
Results 1 to 4 of 4

to exit main procedure from procedure called by yhe main

  1. #1
    Forum Contributor
    Join Date
    08-28-2010
    Location
    delhi,india
    MS-Off Ver
    Excel 2007
    Posts
    128

    to exit main procedure from procedure called by yhe main

    Hi all,
    i am using a code that loops through a range and finds if any cell is empty.On finding one i use msgbox as-"The cell is empty".
    However I want to display the cell which is empty in msgbox.

    code used is shown:-
    Please Login or Register  to view this content.
    any help will be appreciated.
    Last edited by Andy Pope; 09-27-2010 at 09:55 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: to exit main procedure from procedure called by yhe main

    Try this which uses the specialcells method rather than looping.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: to exit main procedure from procedure called by yhe main

    Please Login or Register  to view this content.



  4. #4
    Forum Contributor
    Join Date
    08-28-2010
    Location
    delhi,india
    MS-Off Ver
    Excel 2007
    Posts
    128

    Re: to exit main procedure from procedure called by yhe main

    Thanks andy the code worked perfect

+ 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