+ Reply to Thread
Results 1 to 4 of 4

VBA Help - Insert Rows on Multiple Sheets

  1. #1
    Registered User
    Join Date
    04-19-2012
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    7

    VBA Help - Insert Rows on Multiple Sheets

    I have the following code to insert rows on three worksheets within my workbook.

    Please Login or Register  to view this content.
    I thought it was working fine, but I just realized that when you hit the button multiple times to insert multiple rows the formula on the Comparison Template sheet does not copy the formular from above +1 (for instance it goes from =A36 to =A37) not sure if that makes sense. It just keeps repeating the first one (for instance it copies A36)
    Last edited by alansidman; 05-09-2014 at 01:16 PM. Reason: Code tags

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: VBA Help - Insert Rows on Multiple Sheets

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    04-19-2012
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: VBA Help - Insert Rows on Multiple Sheets

    Thank you... sorry for not submitting the post correctly

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: VBA Help - Insert Rows on Multiple Sheets

    I am not sure what you are wanting this macro to do. It inserts a new row at the location of the active cell and inserts the value from the cell above to the new cell. What are you looking for it to do?

+ 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. How do you insert rows into multiple sheets in a workbook?
    By Marketing Queen in forum Excel General
    Replies: 3
    Last Post: 11-17-2015, 11:25 AM
  2. Macro to insert/delete rows in multiple sheets
    By lorigies in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2014, 11:15 AM
  3. Replies: 0
    Last Post: 11-08-2012, 01:07 PM
  4. [SOLVED] insert Rows with Formulas in Place on Multiple Sheets?
    By Michael Link in forum Excel General
    Replies: 5
    Last Post: 03-09-2006, 10:00 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