+ Reply to Thread
Results 1 to 2 of 2

VBA macro - Two buttons per section that copy down a row or delete current row

  1. #1
    Registered User
    Join Date
    07-02-2013
    Location
    United States
    MS-Off Ver
    2010
    Posts
    1

    VBA macro - Two buttons per section that copy down a row or delete current row

    Complete newb here.

    I am looking for some very simple (I would think) macros. Each section of a proposed invoice will have at least one row of data, basic formulas or a data validation dropdown (first column). What I need is two buttons (area shown in black). One button would add a new row to a section (like the row below the title...in the first case row 2). The other button would delete the current row. It would also be very cool if the first time I clicked the "add" button it would unhide the section title and the first row (rows 1 and 2), then subsequently just add rows of data copying the first row of data down. I guess it would also be nice once all the data rows have been deleted if it would hide the section (range) again.

    I have attached the very basic Invoice_Guts.xlsx for example.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: VBA macro - Two buttons per section that copy down a row or delete current row

    not sure i quite get it, could you add a tab with the desired outcome-i think it's easy to accomplish but i can't quite visualize what you are asking, pm me when you've done it so i can help you out

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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