+ Reply to Thread
Results 1 to 4 of 4

modify a macro; run macro again automatically for next cell if any error accurs

  1. #1
    Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    472

    modify a macro; run macro again automatically for next cell if any error accurs

    Hello every one,

    i have got a macro which splits content of column D in sheet1 and make new entries in coulmn A and column B of sheet2.( Please refer to the picture and attached excel file.)

    Now i want to process a very big wordlist with it. Some times this macro shows error cus of too long lenght of a string in a cell or because of other reasons. It shows sometimes " runtime error" and the macro stops.

    Is it possible to modify the macro is such a way, that it starts again itself, if any error accours? That cell shoud be overjumped where the macro couldnt end its work (an error accoured) and that problem creating cell should be marked. For example "v" for successfully processed cells and "x" for those cells where the macro had stoped because of any error.

    Please Login or Register  to view this content.
    thank you very much in advance for each assistance
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-01-2008
    Location
    Cincinnati, OH
    Posts
    150
    Hi Wali.

    I looked at your file and so have several other people. They probably came to the same conclusion that I did. What is the pattern? Also, the example file did not contain the error condition you spoke of...

    What is the parsing pattern?
    In your next example, include data that is causing the error to be thrown.

    Thanks -

  3. #3
    Forum Contributor
    Join Date
    11-12-2007
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    472
    Hello,
    i am uploading a file containing cells, which creat error. But i cant say which one of them creat error and why. I have put the number of cell members and length of each member in col. D and col.F, so that one can know how big the cellcontent is.

    heres the example:
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    07-01-2008
    Location
    Cincinnati, OH
    Posts
    150
    Sorry Wali. That is more than I am willing to get into on a messageboard.

    Bump

+ 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