+ Reply to Thread
Results 1 to 5 of 5

Clearing a Range of Rows error

  1. #1
    Forum Contributor
    Join Date
    01-06-2011
    Location
    cleveland
    MS-Off Ver
    Excel 2007
    Posts
    225

    Clearing a Range of Rows error

    Please Login or Register  to view this content.
    i get application defined or object defined error. where is the source of this error and will my syntax clear the appropriate rows from 1 to StartDelete1 and from EndDeleteBeginning1 to EndDeleteEnd1?

    StartDelete1 is a variable of value 31
    EndDeleteBeginning1 is a variable of value 477
    EndDeleteEnd1 is a variable of value 505
    Last edited by kamelkid2; 07-16-2012 at 01:16 PM. Reason: updated for clarity

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Clearing a Range of Rows error

    Hello kamelkid2,

    Looks like a typo. This what you posted...
    Please Login or Register  to view this content.
    This what it should be...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    03-15-2007
    Location
    AL, USA
    MS-Off Ver
    2007
    Posts
    174

    Re: Clearing a Range of Rows error

    Quote Originally Posted by Leith Ross View Post
    Hello kamelkid2,

    Looks like a typo...
    This what it should be...
    Please Login or Register  to view this content.
    I didn't have any luck with that code, it still gave me an error... This code didn't maybe that's what you were looking for OP
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    01-06-2011
    Location
    cleveland
    MS-Off Ver
    Excel 2007
    Posts
    225

    Re: Clearing a Range of Rows error

    both work for me. there was a typo in the OP that the previous answer carried over. i recognized this when updating. thank you both - i think im burned out right now.

  5. #5
    Forum Contributor
    Join Date
    03-15-2007
    Location
    AL, USA
    MS-Off Ver
    2007
    Posts
    174

    Re: Clearing a Range of Rows error

    I probably deleted something in Leith's code by accident lol. Glad we could help

+ 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