Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2011, 07:56 PM
cksm4 cksm4 is offline Index switches Windows XP Index switches Office 2007
Advanced Beginner
Index switches
 
Join Date: Aug 2010
Posts: 48
cksm4 is on a distinguished road
Default Index switches

Hello,



Can anyone tell me how to include a "\f" index switch using VBA? I insert the index using:
Code:
 
ActiveDocument.Indexes.MarkEntry Range:=rngTmp, Entry:=strTmp, _
CrossReference:="", CrossReferenceAutoText:="", _
BookmarkName:="", Bold:=False, Italic:=False
Thanks!

Brock
Reply With Quote
  #2  
Old 02-02-2011, 10:54 PM
macropod's Avatar
macropod macropod is offline Index switches Windows 7 32bit Index switches Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Brock,

Hadn't noticed this one before. Try:
Code:
ActiveDocument.Indexes.MarkEntry Range:=rngTmp, Entry:=strTmp & " \f", _
CrossReference:="", CrossReferenceAutoText:="", _
BookmarkName:="", Bold:=False, Italic:=False
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 02-03-2011, 07:21 AM
cksm4 cksm4 is offline Index switches Windows XP Index switches Office 2007
Advanced Beginner
Index switches
 
Join Date: Aug 2010
Posts: 48
cksm4 is on a distinguished road
Default

Hey Paul,

That is what I ended up doing. It works, but I was hoping there was a command specifically for the f switch. Oh well... thanks for the reply!

Brock
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and Index cksm4 Word 1 01-03-2011 11:33 AM
Mail merge switches Jan Collier Mail Merge 0 08-29-2010 06:06 AM
Command Line Switches Ringmaster Office 0 08-10-2010 06:27 AM
Help with switches: Word mail merge with Excel ks_ Mail Merge 0 12-09-2009 05:09 PM
Problem with creating index klb_08 Word 0 11-11-2009 06:08 AM

Other Forums: Access Forums

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