+ Reply to Thread
Results 1 to 2 of 2

Macro for adding/deleting new lines

  1. #1
    Registered User
    Join Date
    09-25-2013
    Location
    Poland
    MS-Off Ver
    Excel 2003
    Posts
    7

    Macro for adding/deleting new lines

    Dear all!

    I would like to help me in one of my problems... It's project to my work, and I have solved 90% of macros myself but with the one I have really big problem. I'm trying to find out how can I write macro for adding and deleting rows - for example:

    My worksheet will be used be used by architect. I would like to give him a possibility to add/remove (by buttons) floor in house section in the file. I would like the whole file has been dynamic and everyone can customize it to his/her needs.

    Initially, I wanted to use simple:
    Please Login or Register  to view this content.
    and

    Please Login or Register  to view this content.
    But the problem is that if I have 10 rows added and want to remove only one (last one), it's deleting always the second one.

    I'm looking for solution, how to remove always the last one?

    I would add that rows which I'm adding/deleting has the background color RGB(192, 192, 192). So maybe it can check which row is the last one in the section to add/remove at the end?

    I'm attaching example so that you can see the problem...

    Example 2013-10-04.xls

    I will be extremely grateful for your help!

  2. #2
    Registered User
    Join Date
    09-25-2013
    Location
    Poland
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Macro for adding/deleting new lines

    Sorry, I know double posts are in bad taste but really care about your answers...

+ 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] Macro for Adding new lines and colums ...
    By sknifseht in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2013, 02:02 AM
  2. Macro for Adding new lines and colums ...
    By sknifseht in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-10-2013, 12:58 AM
  3. [SOLVED] Need Help with VBA Macro - adding/deleting rows (New to Macros)
    By sambuka in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2012, 11:56 AM
  4. [SOLVED] Macro for cutting lines from one sheet and adding to another?
    By Oz Dude in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-29-2012, 01:26 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