PC Review


Reply
Thread Tools Rate Thread

Button to add Rows on Form in Excel

 
 
SaM
Guest
Posts: n/a
 
      24th May 2010
I posted this previously in Worksheet function and realized it possibly
belongs here, so my apologies for the cross posting.

I have a form that I have created in excel and in one section of that form, I
want to be able to add a button that will add 5 more rows for that specific
section. The form is protected as there is some pretty heavy formulas and
direct links to databases that update info for the form, so of course users
cannot add rows themselves - is there a way to add a button that will allow
users to add more rows to the form?

--
Susan M.
Project Controls Data Coordinator
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      24th May 2010
Maybe you could give the user a macro that would copy the row above (including
any formulas).

If you want to try, start at David McRitchie's site:
http://www.mvps.org/dmcritchie/excel/insrtrow.htm
look for: InsertRowsAndFillFormulas

If you're new to macros:

Debra Dalgleish has some notes how to implement macros here:
http://www.contextures.com/xlvba01.html

David McRitchie has an intro to macros:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Ron de Bruin's intro to macros:
http://www.rondebruin.nl/code.htm

(General, Regular and Standard modules all describe the same thing.)

You'll have to add something that unprotects the sheet near the beginning and
reprotects the sheet at the end.

SaM wrote:
>
> I posted this previously in Worksheet function and realized it possibly
> belongs here, so my apologies for the cross posting.
>
> I have a form that I have created in excel and in one section of that form, I
> want to be able to add a button that will add 5 more rows for that specific
> section. The form is protected as there is some pretty heavy formulas and
> direct links to databases that update info for the form, so of course users
> cannot add rows themselves - is there a way to add a button that will allow
> users to add more rows to the form?
>
> --
> Susan M.
> Project Controls Data Coordinator


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Button on Form to Add more rows SaM Microsoft Excel Worksheet Functions 1 24th May 2010 10:05 PM
Excel 2002: Any button to insert blank rows at specific interval? Mr. Low Microsoft Excel Misc 5 29th Mar 2009 02:51 PM
How to make hidden rows in Excel reappear when a Radio Button sele MWL Microsoft Excel Misc 0 12th Feb 2009 03:24 PM
button to open form export to Excel and close form deb Microsoft Access Forms 1 25th Jun 2008 02:27 PM
Plus Button to Hide Rows in Excel aga2957 Microsoft Excel Discussion 2 21st Jul 2005 08:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:31 PM.