Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 05-30-2019, 05:16 PM
kilroy kilroy is offline Need assistance Adding Row to Table with Permission Windows 10 Need assistance Adding Row to Table with Permission Office 2016
Competent Performer
 
Join Date: Sep 2016
Location: Southern Ontario
Posts: 122
kilroy is on a distinguished road
Default

After reading the template it seemed by adding a "row" you meant a whole new table for a second or third "Suspect" The attached template has buttons:

1. "New Suspect"
2. "Delete last Table"
3. "Print"

Pressing the "new suspect" button unprotects the document, copies the data table and pastes it below the first one then re-protects the document. If you press it again it will keep adding a new table under the table so it's probably best to add all the new tables you need before you start filling them in as it copies everything including the text box contents.

The "Delete last table" button doesn't actually delete the last table, it deletes whatever table the cursor is in. Pressing the button unprotects the document, deletes the data table that has the cursor in it and then re-protects the document.

The "Print" button hides the buttons before printing and the reshows them.

You'll need to give the document your own password and enter it into the code in two places where it says "sPassword = """ add it between the quote marks.

Hope this helps.

Regards

You'll need to add your password to the code
Attached Files
File Type: dotm New Suspect Sheet R0.dotm (55.3 KB, 7 views)
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assistance please in adding more data to Existing chart. snowboarder2 Excel 3 09-28-2017 11:50 PM
adding a dropdown in a table airfrm OneNote 1 08-08-2017 09:47 AM
adding a dropdown in a table airfrm OneNote 0 08-08-2017 05:09 AM
Adding ContentControl to a table milena Word VBA 2 04-20-2015 01:04 AM
Need assistance Adding Row to Table with Permission adding table to a particular place hklein Word VBA 2 07-25-2011 01:45 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:09 PM.


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