Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-03-2021, 09:53 AM
Ms. G Ms. G is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Novice
Locked Form - allow rows to be added as needed.
 
Join Date: Jun 2018
Posts: 9
Ms. G is on a distinguished road
Question Locked Form - allow rows to be added as needed.

Hi, I am new to fillable forms.



I have a protected form which contains a table that the user may need additional rows.

How do I accomplish adding rows as needed?

Thanks in Advance


Word 2016, Legacy Form Controls
Reply With Quote
  #2  
Old 05-03-2021, 10:22 AM
Charles Kenyon Charles Kenyon is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 7,290
Charles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud of
Default

Either change your method of protection and use Content Controls or use a macro that unprotects the document, adds the row, and reprotects it.

I advise the former.

Here is an Add-In that will let you change your legacy formfields into Content Controls:
Content Control Tools by Greg Maxey

Last edited by Charles Kenyon; 05-04-2021 at 05:54 AM.
Reply With Quote
  #3  
Old 05-03-2021, 01:19 PM
macropod's Avatar
macropod macropod is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,065
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

See: https://www.msofficeforums.com/word-...html#post38312
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #4  
Old 05-03-2021, 03:01 PM
Ms. G Ms. G is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Novice
Locked Form - allow rows to be added as needed.
 
Join Date: Jun 2018
Posts: 9
Ms. G is on a distinguished road
Default Protected Form Add Rows to table -- help.

I have been tasked with making the attached form fillable and need the table to allow for new rows as needed.

I know very little about macros -- I am trying to get the macro posted above by gmayor to work for my form attached.

I did save as word macro-enabled document to no avail.

Any assistance would be appreciated.

Thanks,
Gail
Attached Files
File Type: docx MyTest.docx (62.8 KB, 4 views)
Reply With Quote
  #5  
Old 05-03-2021, 03:31 PM
macropod's Avatar
macropod macropod is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,065
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Kindly don't post questions about the same topic in multiple threads. I have moved you latest post back to the thread where you first asked about this issue.

In any event, the document you have attached is in the docx format. Files in that format cannot contain macros such as the one you need in the link I supplied.

For your document, see attached
Attached Files
File Type: docm MyTest.docm (71.5 KB, 2 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #6  
Old 05-03-2021, 04:55 PM
Guessed's Avatar
Guessed Guessed is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 2,194
Guessed is a name known to allGuessed is a name known to allGuessed is a name known to allGuessed is a name known to allGuessed is a name known to allGuessed is a name known to all
Default

I would be using Content Controls and do away with macros altogether.

See attached - When your cursor is in a repeating unit, you will see a + sign on the right which you click on to add a new section.
Attached Files
File Type: docx MyTest.docx (74.1 KB, 6 views)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #7  
Old 05-04-2021, 06:00 AM
Ms. G Ms. G is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Novice
Locked Form - allow rows to be added as needed.
 
Join Date: Jun 2018
Posts: 9
Ms. G is on a distinguished road
Default

@macropod - My apologies thank you for moving for me. I inadvertently failed to send the .docm

I tried the document you posted and it does not allow me to enter or tab through.

Thank you
Reply With Quote
  #8  
Old 05-04-2021, 06:02 AM
Ms. G Ms. G is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Novice
Locked Form - allow rows to be added as needed.
 
Join Date: Jun 2018
Posts: 9
Ms. G is on a distinguished road
Default

My apologies thank you for moving for me. I inadvertently failed to send the .docm

I tried the document you posted and it does not allow me to enter or tab through.

Thank you
Reply With Quote
  #9  
Old 05-04-2021, 06:46 AM
Ms. G Ms. G is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Novice
Locked Form - allow rows to be added as needed.
 
Join Date: Jun 2018
Posts: 9
Ms. G is on a distinguished road
Default

@Guessed
Good Morning and thank you so much for introducing me to Content Controls! This is going to be extremely helpful in the future. PDF forms are my strength.

I tested the form and notice that I cannot tab or click into the first form field of the first table, the first Name and title: on page 3. Also, page 2 (checkboxes) is there a way to start with the first checkbox and tab through them?

Once again, your assistance is greatly appreciated. I will be taking time to learn more about how this works.

Respectfully,
Gail
Reply With Quote
  #10  
Old 05-04-2021, 06:49 AM
Ms. G Ms. G is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Novice
Locked Form - allow rows to be added as needed.
 
Join Date: Jun 2018
Posts: 9
Ms. G is on a distinguished road
Default

@Charles Kenyon
Thanks so much for the recommendation and reference link. I will be using Controls now going forward.

Have a great day,
Gail
Reply With Quote
  #11  
Old 05-04-2021, 01:51 PM
macropod's Avatar
macropod macropod is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,065
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Quote:
Originally Posted by Ms. G View Post
I tried the document you posted and it does not allow me to enter or tab through.
Most likely Word is waiting for you to respond to a prompt just below the Ribbon.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #12  
Old 05-04-2021, 02:25 PM
Ms. G Ms. G is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Novice
Locked Form - allow rows to be added as needed.
 
Join Date: Jun 2018
Posts: 9
Ms. G is on a distinguished road
Default

Are your referring to the "Allow Editing" and "Enable Macros"? If so, I chose to clicked "Enable Editing" then "Enable Content" to activate Macros.

Document then opens with only "File, Tools, View". Unable to tab, select View Edit Document". Now, able to tab through but when I get to the last form field in the table it skips to the next form field, does not add a new rule as I would expect.

Anything else you would suggest I try?

Thanks,
Gail
Reply With Quote
  #13  
Old 05-04-2021, 02:32 PM
macropod's Avatar
macropod macropod is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,065
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

The 'On exit' macro reference got deleted from the last cell in the table (probably as a result of testing). Updated. Try it now.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #14  
Old 05-05-2021, 05:33 AM
Ms. G Ms. G is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Novice
Locked Form - allow rows to be added as needed.
 
Join Date: Jun 2018
Posts: 9
Ms. G is on a distinguished road
Default

Thank you -- works great. Greatly appreciate your assistance.
Reply With Quote
  #15  
Old 05-05-2021, 06:12 AM
macropod's Avatar
macropod macropod is offline Locked Form - allow rows to be added as needed. Windows 10 Locked Form - allow rows to be added as needed. Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,065
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

So now you have two possible approaches.

With Andrew's no macro is required, but it will only work on Word 2013 & later.

With mine, a macro is required, but it will work on almost every Word version going back to Word 2000.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Locked Form - allow rows to be added as needed. How create new camps on a locked word form Lou Melo Word VBA 6 09-20-2017 12:21 PM
Locked Form - allow rows to be added as needed. Suggestions needed for Questionnaire Form Reuben Word 7 08-14-2015 02:37 PM
Locked Form - allow rows to be added as needed. Restrict Editing but Allow New Table Rows to be Added weavie27 Word Tables 3 05-02-2014 03:11 PM
Created Outlook Design form Office 2007 Doesn't show Added Fields when emailed Trevor G Outlook 0 05-16-2012 07:13 AM
Form field to automatically be added to header? razberri Word VBA 3 02-22-2010 03:48 PM

Other Forums: Access Forums - Senior Forums

All times are GMT -7. The time now is 07:21 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft