+ Reply to Thread
Results 1 to 5 of 5

Need a Macro to delete an entire row from one worksheet & create a new row with formula

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    United States
    MS-Off Ver
    Mac Excel 2011
    Posts
    64

    Need a Macro to delete an entire row from one worksheet & create a new row with formula

    Need a macro that when I delete a row from worksheet #1, it will delete the entire row in the the 2nd worksheet where the data is being reference from worksheet#1. Then create a new line at the bottom with the formula already embedded, so that when data is added from worksheet one it will populate. I found an example of a macro code that inserts a new line, but still need the deletion code to be added. Please can someone help me with this.


    HTML Code: 

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Need a Macro to delete an entire row from one worksheet & create a new row with formul

    Have a look here:
    http://stackoverflow.com/questions/7...-deleting-rows

  3. #3
    Registered User
    Join Date
    11-24-2012
    Location
    United States
    MS-Off Ver
    Mac Excel 2011
    Posts
    64

    Re: Need a Macro to delete an entire row from one worksheet & create a new row with formul

    Hello yudlugar, I am a newbie to VBA, and I am not sure how to implement that method as it was defined.



    here is the file I am using can you help me please. Copy of US05 - MPTS_test version.xlsm

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Need a Macro to delete an entire row from one worksheet & create a new row with formul

    Hi - sorry, I don't have time to implement the full solution for you right now, I'll try and check back later in case nobody else is able to help.

  5. #5
    Registered User
    Join Date
    11-24-2012
    Location
    United States
    MS-Off Ver
    Mac Excel 2011
    Posts
    64

    Re: Need a Macro to delete an entire row from one worksheet & create a new row with formul

    @yudlugar, here is some code I found and used that deletes my lines. I just need to automate this function when the row is deleted from main page and add a new row with formula for the row deleted.


    HTML Code: 

+ 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. [SOLVED] Delete entire worksheet minus the header.
    By nhi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-03-2013, 03:32 PM
  2. [SOLVED] Delete particular row from entire worksheet after matching criteria
    By irfanparbatani in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-29-2012, 08:14 PM
  3. Replies: 3
    Last Post: 04-19-2012, 10:45 AM
  4. Create Hyperlink to another worksheet within the entire worksheet?
    By mugziegumz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2008, 12:43 PM
  5. Delete ENTIRE row after updating info in worksheet.
    By naiveprogrammer in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-21-2005, 05:05 PM

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