Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #13  
Old 10-21-2018, 06:09 PM
kateabode kateabode is offline Help with Inserting External Information into Document Consecutively Windows 7 64bit Help with Inserting External Information into Document Consecutively Office 2016
Novice
Help with Inserting External Information into Document Consecutively
 
Join Date: Sep 2018
Posts: 16
kateabode is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
Here is some aircode that might get you started. I'll assume that you use the checkbox Tag property to store the associated bookmark name
Code:
Dim aCtl as MSForms.Control
For Each aCtl In Me.Controls
  Select Case TypeName(aCtl)
    Case "CheckBox"
      If ActiveDocument.Bookmarks.Exists(aCtl.Tag) then
        ActiveDocument.Bookmarks(aCtl.Tag).Range.Font.Hidden = Not aCtl.Value
      End If
  End Select
Next aCtl
Thanks for your help.

Can you help me understand the code? Also, where in the code do I write the name of the bookmark associated?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Inserting External Information into Document Consecutively number every second page consecutively acrimin Word 10 10-02-2024 04:18 AM
Help with Inserting External Information into Document Consecutively Number every other page consecutively fredhinke Word 1 11-11-2016 01:30 PM
Help with Inserting External Information into Document Consecutively Import external font to Word document Patrick_87 Word 3 07-17-2015 01:04 AM
how to put three videos in PowerPoint 2013 and have them play consecutively historyb PowerPoint 0 10-16-2014 11:42 AM
Help with Inserting External Information into Document Consecutively Automatically inserting information into report joughin Word 3 05-15-2012 09:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:32 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