Consulting

Results 1 to 5 of 5

Thread: conditional addition of row

  1. #1

    conditional addition of row

    Hi all,
    really important question here. I was wondering if i could add row on Sheet Summary, if sheets A,B,C,D have a particular code running.

    Meaning, if macro : Addmaterial runs, a row will be added on sheet summary. if the macro runs twice, 2 rows will be added to sheet summary.
    Here's a twist, the values from sheet A has a range on sheet summary. As for all the sheets. so the row must be added to the according range


    Thanks alot.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Adding a row is trivial.

    Understanding what you mean by '... Here's a twist, the values from sheet A has a range on sheet summary. As for all the sheets. so the row must be added to the according range ...' is not trivial.

    Can you elaborate?

  3. #3
    hi, pls look at my attached workbook for reference.


    Thanks alot.

  4. #4
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    2 questions:
    can you do away with the merged cells..
    can you have a space between the sections on the summary sheet?
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  5. #5
    Hi,
    Many thanks for your prompt reply.

    I know merge cells are a hassle. So i'm willing todo away with it. Yes, and they can before a blank row in between the sections.

    Many thanks in advance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •