+ Reply to Thread
Results 1 to 6 of 6

Specifying a Range for deletion

  1. #1
    Registered User
    Join Date
    10-08-2014
    Location
    Lake Havasu City, AZ
    MS-Off Ver
    Office 365
    Posts
    23

    Specifying a Range for deletion

    Heelo All,

    I am trying to delete a range of data that is between the row with text "Account Statement for" and one row below the row with test "Account Trade History".

    I am new to VBA and am having difficulty trying to define ranges. My syntax is pretty awful as well. (My skills are actually not very good all the way around).

    Am I close to being on the right track?

    Any help would be very much appreciated.

    John




    Please Login or Register  to view this content.

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

    Re: Specifying a Range for deletion

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

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,774

    Re: Specifying a Range for deletion

    Untested:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    10-08-2014
    Location
    Lake Havasu City, AZ
    MS-Off Ver
    Office 365
    Posts
    23

    Re: Specifying a Range for deletion

    Worked Great.

    Thank You

  5. #5
    Registered User
    Join Date
    10-08-2014
    Location
    Lake Havasu City, AZ
    MS-Off Ver
    Office 365
    Posts
    23

    Re: Specifying a Range for deletion

    Worked Perfect

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,774

    Re: Specifying a Range for deletion

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Prevent workbook deletion or create the copy upon the deletion?
    By ciapul12 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2014, 04:35 PM
  2. [SOLVED] Allow ROW deletion but only below a specified range
    By BeachRock in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-09-2013, 03:11 PM
  3. Deleting a range of cells based on a deletion of a cell outside that range
    By Carlos90 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2013, 03:07 PM
  4. Named range deletion
    By ElTerrible35 in forum Excel General
    Replies: 1
    Last Post: 03-04-2009, 07:02 PM
  5. Specific Range Deletion
    By bodhisatvaofboogie in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-24-2006, 09:35 AM

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