Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2023, 05:27 AM
maw444 maw444 is offline Delete pages using a check box in a document Windows 10 Delete pages using a check box in a document Office 2019
Advanced Beginner
Delete pages using a check box in a document
 
Join Date: Feb 2021
Posts: 35
maw444 is on a distinguished road
Default Delete pages using a check box in a document

I have a Word document and I need to have a way to make it interactive so that it deletes pages depending on a response.

As an example, if the user checks a box (call it box 2) t will then print out page 2
if you tick another box it will print out page 3 and so on.

We can't do it via Macros. IS there a way you can use a Form to produce the response?



Any work arounds would be appreciated.
Reply With Quote
  #2  
Old 12-13-2023, 07:50 PM
Charles Kenyon Charles Kenyon is offline Delete pages using a check box in a document Windows 11 Delete pages using a check box in a document Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

It will have to be done using macros, but see Word Doesn't Know What a Page Is by Daiya Mitchell, MVP.


Also look at Moving/Reorganizing Pages in Microsoft Word.


You need to mark the area in some way. Page does not cut it.


See also Create & Employ a Userform by Greg Maxey
Reply With Quote
  #3  
Old 12-13-2023, 09:00 PM
Guessed's Avatar
Guessed Guessed is offline Delete pages using a check box in a document Windows 10 Delete pages using a check box in a document Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I would be looking at making a dynamic form as a PDF rather than trying to do this with Word docx.

If you stay in Word there are two dodgy methods that might be workable but perhaps neither would align with your useability goals.
1. Use a Building Block Content Control to allow the user to select a chunk to add to the form.
2. Use an If field to harness the checkbox value to display or hide content. This would require a field refresh kicked off by the user to reveal or hide the content after the checkbox is changed.

If you wanted to explore the #2 option the If field would look like {If checkbox = true "Here is your content to display" ""} where checkbox is a plain text Content Control mapped to the same field value as the checkbox Content Control.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extract specific pages (Category) or arrange pages in a mail merge document? kitlwy Mail Merge 7 09-30-2021 04:50 AM
Wanting to use checkboxes etc in a TOC to delete specific pages in a 300 page document Tammy Word 4 10-11-2016 05:53 PM
Delete pages using a check box in a document Advanced page numbering: section pages in header, document pages in footer Albus Word 12 12-12-2014 01:36 PM
Spell Check some pages not others JudiK Word 10 12-10-2013 01:40 AM
delete blank pages from mail merge document blusea Word 0 12-17-2010 06:10 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:29 PM.


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