+ Reply to Thread
Results 1 to 5 of 5

Insert Row and Non-contiguous Print Area Macro

  1. #1
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Question Insert Row and Non-contiguous Print Area Macro

    Hi All,

    I'm actually an idiot about VBA . Could you help me on my problem?

    I have a document which user are allow key-in 2 products only and does not allow me to insert rows. Therefore, whenever I would like to add Product, I have to copy the entire page and paste in a new sheet in order for me to enter the 3rd and 4th product.

    Is it possible to use macro to create "INSERT ROW" (repeat row20 to row26) to allow user key in the 3rd product and when print out it must be 2 grades in 1 sheet. Which mean its repeat the header row 1 to row 17 and repeat the footer row 27 to row 43. Therefore, if I have 3 products, it will print out in 2 pages which is 1st page 2 product, 2nd page 1 product with 1 empty product.

    Thanks for any help.

    Regards.
    Attached Files Attached Files
    Last edited by cyee; 09-14-2010 at 03:30 AM.

  2. #2
    Forum Contributor johnjohns's Avatar
    Join Date
    11-19-2007
    Location
    Dubai, UAE
    MS-Off Ver
    2003 and 2007
    Posts
    526

    Re: Insert Row and Non-contiguous Print Area Macro

    Hi Cyee,

    If you cannot insert rows, then that privilege should be blocked and the sheet is protected (with password mostly). So I don't think a solution for that can be given. The balance part can be modified at the page setup level I suppose. For a better clarity on the issue, please post a sample workbook

    rgds

    johnjohns

  3. #3
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Insert Row and Non-contiguous Print Area Macro

    Hi John,

    I have post the workbook in the thread.
    The worksheet is not block.
    I would like to insert row which I highlighted in Blue.

    THanks.

  4. #4
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Insert Row and Non-contiguous Print Area Macro

    Hi John,

    I have post the workbook in the thread.
    The worksheet is not block.
    I would like to insert row which I highlighted in Blue.

    THanks.

  5. #5
    Forum Contributor
    Join Date
    09-02-2010
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    283

    Re: Insert Row and Non-contiguous Print Area Macro

    Hi All...
    I really need your help on this. Could someone help me?

    Best Regards.

+ 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