Closed Thread
Results 1 to 5 of 5

deleting mutliple rows in different ranges at same time

  1. #1
    HeatherO
    Guest

    deleting mutliple rows in different ranges at same time

    I was just wondering if there is anyway to delete multiple rows in different
    ranges at the same time? I have a spreadsheet and I was doing the deletion
    at the same time as I was populating one of the columns and when I do the
    deletion it deletes the row but then all the rows below it move up one and I
    am deleting things I don't want to. All I would like to do is highlight with
    in rows 10-25 certain ones that contain 0 values in column C and delete them
    and at the same time rows 38-46 that have 0 values in column C delete them.
    If I delete the first range then my original rows which were 38 - 46 become
    different rows and therefore I am looking at the wrong data. Any help or
    suggestions I would appreciate, I don't know if you can do this or not but it
    would be great if you could.

  2. #2
    Bob Phillips
    Guest

    Re: deleting mutliple rows in different ranges at same time

    Work bottom-up instead of top-down.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "HeatherO" <HeatherO@discussions.microsoft.com> wrote in message
    news:830BE7B3-E764-4F1F-B300-1735D61F7005@microsoft.com...
    > I was just wondering if there is anyway to delete multiple rows in

    different
    > ranges at the same time? I have a spreadsheet and I was doing the

    deletion
    > at the same time as I was populating one of the columns and when I do the
    > deletion it deletes the row but then all the rows below it move up one and

    I
    > am deleting things I don't want to. All I would like to do is highlight

    with
    > in rows 10-25 certain ones that contain 0 values in column C and delete

    them
    > and at the same time rows 38-46 that have 0 values in column C delete

    them.
    > If I delete the first range then my original rows which were 38 - 46

    become
    > different rows and therefore I am looking at the wrong data. Any help or
    > suggestions I would appreciate, I don't know if you can do this or not but

    it
    > would be great if you could.




  3. #3
    HeatherO
    Guest

    Re: deleting mutliple rows in different ranges at same time

    I was thinking of that as I was writing this. Can I do a for counter = 25 to
    10?? I think my coffee just has not sunk in yet. I know there is a way.
    Thanks for your help.

    "Bob Phillips" wrote:

    > Work bottom-up instead of top-down.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "HeatherO" <HeatherO@discussions.microsoft.com> wrote in message
    > news:830BE7B3-E764-4F1F-B300-1735D61F7005@microsoft.com...
    > > I was just wondering if there is anyway to delete multiple rows in

    > different
    > > ranges at the same time? I have a spreadsheet and I was doing the

    > deletion
    > > at the same time as I was populating one of the columns and when I do the
    > > deletion it deletes the row but then all the rows below it move up one and

    > I
    > > am deleting things I don't want to. All I would like to do is highlight

    > with
    > > in rows 10-25 certain ones that contain 0 values in column C and delete

    > them
    > > and at the same time rows 38-46 that have 0 values in column C delete

    > them.
    > > If I delete the first range then my original rows which were 38 - 46

    > become
    > > different rows and therefore I am looking at the wrong data. Any help or
    > > suggestions I would appreciate, I don't know if you can do this or not but

    > it
    > > would be great if you could.

    >
    >
    >


  4. #4
    Bob Phillips
    Guest

    Re: deleting mutliple rows in different ranges at same time



    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "HeatherO" <HeatherO@discussions.microsoft.com> wrote in message
    news:3502C6EA-AED4-4EFA-BD49-760BF51C8149@microsoft.com...
    > I was thinking of that as I was writing this. Can I do a for counter = 25

    to
    > 10?? I think my coffee just has not sunk in yet. I know there is a way.
    > Thanks for your help.
    >
    > "Bob Phillips" wrote:
    >
    > > Work bottom-up instead of top-down.
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "HeatherO" <HeatherO@discussions.microsoft.com> wrote in message
    > > news:830BE7B3-E764-4F1F-B300-1735D61F7005@microsoft.com...
    > > > I was just wondering if there is anyway to delete multiple rows in

    > > different
    > > > ranges at the same time? I have a spreadsheet and I was doing the

    > > deletion
    > > > at the same time as I was populating one of the columns and when I do

    the
    > > > deletion it deletes the row but then all the rows below it move up one

    and
    > > I
    > > > am deleting things I don't want to. All I would like to do is

    highlight
    > > with
    > > > in rows 10-25 certain ones that contain 0 values in column C and

    delete
    > > them
    > > > and at the same time rows 38-46 that have 0 values in column C delete

    > > them.
    > > > If I delete the first range then my original rows which were 38 - 46

    > > become
    > > > different rows and therefore I am looking at the wrong data. Any help

    or
    > > > suggestions I would appreciate, I don't know if you can do this or not

    but
    > > it
    > > > would be great if you could.

    > >
    > >
    > >




  5. #5
    Bob Phillips
    Guest

    Re: deleting mutliple rows in different ranges at same time

    Yes

    For cntr = 25 To 10 Step -1
    ...
    Next cntr

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "HeatherO" <HeatherO@discussions.microsoft.com> wrote in message
    news:3502C6EA-AED4-4EFA-BD49-760BF51C8149@microsoft.com...
    > I was thinking of that as I was writing this. Can I do a for counter = 25

    to
    > 10?? I think my coffee just has not sunk in yet. I know there is a way.
    > Thanks for your help.
    >
    > "Bob Phillips" wrote:
    >
    > > Work bottom-up instead of top-down.
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "HeatherO" <HeatherO@discussions.microsoft.com> wrote in message
    > > news:830BE7B3-E764-4F1F-B300-1735D61F7005@microsoft.com...
    > > > I was just wondering if there is anyway to delete multiple rows in

    > > different
    > > > ranges at the same time? I have a spreadsheet and I was doing the

    > > deletion
    > > > at the same time as I was populating one of the columns and when I do

    the
    > > > deletion it deletes the row but then all the rows below it move up one

    and
    > > I
    > > > am deleting things I don't want to. All I would like to do is

    highlight
    > > with
    > > > in rows 10-25 certain ones that contain 0 values in column C and

    delete
    > > them
    > > > and at the same time rows 38-46 that have 0 values in column C delete

    > > them.
    > > > If I delete the first range then my original rows which were 38 - 46

    > > become
    > > > different rows and therefore I am looking at the wrong data. Any help

    or
    > > > suggestions I would appreciate, I don't know if you can do this or not

    but
    > > it
    > > > would be great if you could.

    > >
    > >
    > >




Closed 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