<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to go to the special item in a Word document via VBA</title>
	<atom:link href="http://www.ocxt.com/archives/66/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ocxt.com/archives/66</link>
	<description>ActiveX document container for hosting Office documents and PDF (including Adobe PDF, Microsoft Word, Microsoft Excel, Microsoft PowerPoint, Microsoft Project and Microsoft Visio documents)</description>
	<lastBuildDate>Sat, 19 Nov 2011 03:49:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/66#comment-153</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Sat, 17 Jul 2010 10:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/66#comment-153</guid>
		<description>To move the bookmark &quot;method&quot;

var empty;
document.OA1.GotoItem(-1, empty, 0, &#039;method&#039;);</description>
		<content:encoded><![CDATA[<p>To move the bookmark &#8220;method&#8221;</p>
<p>var empty;<br />
document.OA1.GotoItem(-1, empty, 0, &#8216;method&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/66#comment-152</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Sat, 17 Jul 2010 10:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/66#comment-152</guid>
		<description>In Javascript you need to provide all of the arguments (in order) even though they are optional.

var objWord = document.OA1.ActiveDocument;
var app = objWord.Application;
var sel = app.Selection;
var empty;
var objRange = sel.GoTo(-1, empty, 0, &#039;method&#039;);</description>
		<content:encoded><![CDATA[<p>In Javascript you need to provide all of the arguments (in order) even though they are optional.</p>
<p>var objWord = document.OA1.ActiveDocument;<br />
var app = objWord.Application;<br />
var sel = app.Selection;<br />
var empty;<br />
var objRange = sel.GoTo(-1, empty, 0, &#8216;method&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: office viewer</title>
		<link>http://www.ocxt.com/archives/66#comment-56</link>
		<dc:creator>office viewer</dc:creator>
		<pubDate>Tue, 08 Jan 2008 08:49:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.ocxt.com/archives/66#comment-56</guid>
		<description>typedef enum BorderStyle
 {
  BorderNone = 0,
  BorderFlat,
  Border3D,
  Border3DThin
 } BorderStyle; 
　
 typedef enum ShowDialogType
 {
  DialogNew = 0,
  DialogOpen,
  DialogSave,
  DialogSaveCopy,
  DialogPrint,
  DialogPageSetup,
  DialogProperties
 } ShowDialogType;
　
 typedef enum FileCommandType
 {
  FileNew = 0,
  FileOpen,
  FileClose,
  FileSave,
  FileSaveAs,
  FilePrint,
  FilePageSetup,
  FileProperties,
  FilePrintPreview
 } FileCommandType;
　
 typedef enum XlFileFormat
 {
  xlAddIn = 18,
  xlCSV = 6,
  xlCSVMac = 22,
  xlCSVMSDOS = 24,
  xlCSVWindows = 23,
  xlDBF2 = 7,
  xlDBF3 = 8,
  xlDBF4 = 11,
  xlDIF = 9,
  xlExcel2 = 16,
  xlExcel2FarEast = 27,
  xlExcel3 = 29,
  xlExcel4 = 33,
  xlExcel5 = 39,
  xlExcel7 = 39,
  xlExcel9795 = 43,
  xlExcel4Workbook = 35,
  xlIntlAddIn = 26,
  xlIntlMacro = 25,
  xlWorkbookNormal = -4143,
  xlSYLK = 2,
  xlTemplate = 17,
  xlCurrentPlatformText = -4158,
  xlTextMac = 19,
  xlTextMSDOS = 21,
  xlTextPrinter = 36,
  xlTextWindows = 20,
  xlWJ2WD1 = 14,
  xlWK1 = 5,
  xlWK1ALL = 31,
  xlWK1FMT = 30,
  xlWK3 = 15,
  xlWK4 = 38,
  xlWK3FM3 = 32,
  xlWKS = 4,
  xlWorks2FarEast = 28,
  xlWQ1 = 34,
  xlWJ3 = 40,
  xlWJ3FJ3 = 41,
  xlUnicodeText = 42,
  xlHtml = 44
 }XlFileFormat;
　
 typedef enum WdSaveFormat
 {
  wdFormatDocument = 0,
  wdFormatTemplate = 1,
  wdFormatText = 2,
  wdFormatTextLineBreaks = 3,
  wdFormatDOSText = 4,
  wdFormatDOSTextLineBreaks = 5,
  wdFormatRTF = 6,
  wdFormatUnicodeText = 7,
  wdFormatEncodedText = 7,
  wdFormatHTML = 8,
  wdFormatWebArchive = 9,
  wdFormatFilteredHTML = 10,
  wdFormatXML = 11
 }WdSaveFormat;
　
 typedef enum PpSaveAsFileType
 {
  ppSaveAsPresentation = 1,
  ppSaveAsPowerPoint7 = 2,
  ppSaveAsPowerPoint4 = 3,
  ppSaveAsPowerPoint3 = 4,
  ppSaveAsTemplate = 5,
  ppSaveAsRTF = 6,
  ppSaveAsShow = 7,
  ppSaveAsAddIn = 8,
  ppSaveAsPowerPoint4FarEast = 10,
  ppSaveAsDefault = 11,
  ppSaveAsHTML = 12,
  ppSaveAsHTMLv3 = 13,
  ppSaveAsHTMLDual = 14,
  ppSaveAsMetaFile = 15,
  ppSaveAsGIF = 16,
  ppSaveAsJPG = 17,
  ppSaveAsPNG = 18,
  ppSaveAsBMP = 19
 }PpSaveAsFileType;
　
 typedef enum PpViewType
 {
  ppViewHandoutMaster = 4,
  ppViewMasterThumbnails = 12,
  ppViewNormal = 9,
  ppViewNotesMaster = 5, 
  ppViewNotesPage = 3,
  ppViewOutline = 6,
  ppViewPrintPreview = 10, 
  ppViewSlide = 1,
  ppViewSlideMaster = 2, 
  ppViewSlideSorter = 7,
  ppViewThumbnails = 11,
  ppViewTitleMaster =8,
 }PpViewType;
　
 typedef enum WdViewType
 {
  wdMasterView = 5, 
  wdNormalView = 1 ,
  wdOutlineView = 2,
  wdPrintPreview = 4 ,
  wdPrintView = 3, 
  wdReadingView = 7, 
  wdWebView = 6,
 }WdViewType;
　
 typedef enum XlViewType
 {
  xlNormalView = 1 ,
  xlPageBreakPreview = 2,
 }XlViewType;
　
 typedef enum WdPasteDataType
 {
  wdPasteBitmap = 4,
  wdPasteDeviceIndependentBitmap = 5,
  wdPasteEnhancedMetafile = 9,
  wdPasteHTML = 10,
  wdPasteHyperlink = 7,
  wdPasteMetafilePicture = 3,
  wdPasteOLEObject = 0,
  wdPasteRTF = 1,
  wdPasteShape = 8,
  wdPasteText = 2,
 }WdPasteDataType;
　
 typedef enum WdBreakType{
  wdPageBreak = 7,
  wdColumnBreak = 8,
  wdSectionBreakNextPage = 2,
  wdSectionBreakContinuous = 3,
  wdSectionBreakEvenPage = 4,
  wdSectionBreakOddPage = 5,
  wdLineBreak = 6,
  wdLineBreakClearLeft = 9,
  wdLineBreakClearRight = 10,
  wdTextWrappingBreak = 11,
 }WdBreakType;
　
 typedef enum WdGoToItem{
  wdGoToBookmark = -1 ,
  wdGoToComment = 6 ,
  wdGoToEndnote = 5 ,
  wdGoToEquation = 10 ,
  wdGoToField = 7 ,
  wdGoToFootnote = 4 ,
  wdGoToGrammaticalError=  14 ,
  wdGoToGraphic = 8 ,
  wdGoToHeading=  11 ,
  wdGoToLine = 3 ,
  wdGoToObject = 9 ,
  wdGoToPage = 1 ,
  wdGoToPercent = 12 ,
  wdGoToProofreadingError = 15 ,
  wdGoToSection = 0 ,
  wdGoToSpellingError = 13 ,
  wdGoToTable = 2 ,
 }WdGoToItem;
　
 typedef enum WdGoToDirection{
  wdGoToAbsolute = 1,
  wdGoToFirst = 1,
  wdGoToLast = -1 ,
  wdGoToNext = 2 ,
  wdGoToPrevious = 3 ,
  wdGoToRelative = 2 ,
 }WdGoToDirection;
　
 typedef enum WdPageFit{
  wdPageFitBestFit = 2,
  wdPageFitFullPage = 1,
  wdPageFitTextFit = 3 ,
  wdPageFitTextNone = 0 ,
}WdPageFit;

typedef enum OpenedFileType{
  oaUnknown = -1,
  oaNoOpened = 0,
  oaWord = 1,
  oaExcel = 2,
  oaPowerPoint = 3 ,
  oaVisio = 4 ,
  oaProject = 5 ,
}OpenedFileType;</description>
		<content:encoded><![CDATA[<p>typedef enum BorderStyle<br />
 {<br />
  BorderNone = 0,<br />
  BorderFlat,<br />
  Border3D,<br />
  Border3DThin<br />
 } BorderStyle;<br />
　<br />
 typedef enum ShowDialogType<br />
 {<br />
  DialogNew = 0,<br />
  DialogOpen,<br />
  DialogSave,<br />
  DialogSaveCopy,<br />
  DialogPrint,<br />
  DialogPageSetup,<br />
  DialogProperties<br />
 } ShowDialogType;<br />
　<br />
 typedef enum FileCommandType<br />
 {<br />
  FileNew = 0,<br />
  FileOpen,<br />
  FileClose,<br />
  FileSave,<br />
  FileSaveAs,<br />
  FilePrint,<br />
  FilePageSetup,<br />
  FileProperties,<br />
  FilePrintPreview<br />
 } FileCommandType;<br />
　<br />
 typedef enum XlFileFormat<br />
 {<br />
  xlAddIn = 18,<br />
  xlCSV = 6,<br />
  xlCSVMac = 22,<br />
  xlCSVMSDOS = 24,<br />
  xlCSVWindows = 23,<br />
  xlDBF2 = 7,<br />
  xlDBF3 = 8,<br />
  xlDBF4 = 11,<br />
  xlDIF = 9,<br />
  xlExcel2 = 16,<br />
  xlExcel2FarEast = 27,<br />
  xlExcel3 = 29,<br />
  xlExcel4 = 33,<br />
  xlExcel5 = 39,<br />
  xlExcel7 = 39,<br />
  xlExcel9795 = 43,<br />
  xlExcel4Workbook = 35,<br />
  xlIntlAddIn = 26,<br />
  xlIntlMacro = 25,<br />
  xlWorkbookNormal = -4143,<br />
  xlSYLK = 2,<br />
  xlTemplate = 17,<br />
  xlCurrentPlatformText = -4158,<br />
  xlTextMac = 19,<br />
  xlTextMSDOS = 21,<br />
  xlTextPrinter = 36,<br />
  xlTextWindows = 20,<br />
  xlWJ2WD1 = 14,<br />
  xlWK1 = 5,<br />
  xlWK1ALL = 31,<br />
  xlWK1FMT = 30,<br />
  xlWK3 = 15,<br />
  xlWK4 = 38,<br />
  xlWK3FM3 = 32,<br />
  xlWKS = 4,<br />
  xlWorks2FarEast = 28,<br />
  xlWQ1 = 34,<br />
  xlWJ3 = 40,<br />
  xlWJ3FJ3 = 41,<br />
  xlUnicodeText = 42,<br />
  xlHtml = 44<br />
 }XlFileFormat;<br />
　<br />
 typedef enum WdSaveFormat<br />
 {<br />
  wdFormatDocument = 0,<br />
  wdFormatTemplate = 1,<br />
  wdFormatText = 2,<br />
  wdFormatTextLineBreaks = 3,<br />
  wdFormatDOSText = 4,<br />
  wdFormatDOSTextLineBreaks = 5,<br />
  wdFormatRTF = 6,<br />
  wdFormatUnicodeText = 7,<br />
  wdFormatEncodedText = 7,<br />
  wdFormatHTML = 8,<br />
  wdFormatWebArchive = 9,<br />
  wdFormatFilteredHTML = 10,<br />
  wdFormatXML = 11<br />
 }WdSaveFormat;<br />
　<br />
 typedef enum PpSaveAsFileType<br />
 {<br />
  ppSaveAsPresentation = 1,<br />
  ppSaveAsPowerPoint7 = 2,<br />
  ppSaveAsPowerPoint4 = 3,<br />
  ppSaveAsPowerPoint3 = 4,<br />
  ppSaveAsTemplate = 5,<br />
  ppSaveAsRTF = 6,<br />
  ppSaveAsShow = 7,<br />
  ppSaveAsAddIn = 8,<br />
  ppSaveAsPowerPoint4FarEast = 10,<br />
  ppSaveAsDefault = 11,<br />
  ppSaveAsHTML = 12,<br />
  ppSaveAsHTMLv3 = 13,<br />
  ppSaveAsHTMLDual = 14,<br />
  ppSaveAsMetaFile = 15,<br />
  ppSaveAsGIF = 16,<br />
  ppSaveAsJPG = 17,<br />
  ppSaveAsPNG = 18,<br />
  ppSaveAsBMP = 19<br />
 }PpSaveAsFileType;<br />
　<br />
 typedef enum PpViewType<br />
 {<br />
  ppViewHandoutMaster = 4,<br />
  ppViewMasterThumbnails = 12,<br />
  ppViewNormal = 9,<br />
  ppViewNotesMaster = 5,<br />
  ppViewNotesPage = 3,<br />
  ppViewOutline = 6,<br />
  ppViewPrintPreview = 10,<br />
  ppViewSlide = 1,<br />
  ppViewSlideMaster = 2,<br />
  ppViewSlideSorter = 7,<br />
  ppViewThumbnails = 11,<br />
  ppViewTitleMaster =8,<br />
 }PpViewType;<br />
　<br />
 typedef enum WdViewType<br />
 {<br />
  wdMasterView = 5,<br />
  wdNormalView = 1 ,<br />
  wdOutlineView = 2,<br />
  wdPrintPreview = 4 ,<br />
  wdPrintView = 3,<br />
  wdReadingView = 7,<br />
  wdWebView = 6,<br />
 }WdViewType;<br />
　<br />
 typedef enum XlViewType<br />
 {<br />
  xlNormalView = 1 ,<br />
  xlPageBreakPreview = 2,<br />
 }XlViewType;<br />
　<br />
 typedef enum WdPasteDataType<br />
 {<br />
  wdPasteBitmap = 4,<br />
  wdPasteDeviceIndependentBitmap = 5,<br />
  wdPasteEnhancedMetafile = 9,<br />
  wdPasteHTML = 10,<br />
  wdPasteHyperlink = 7,<br />
  wdPasteMetafilePicture = 3,<br />
  wdPasteOLEObject = 0,<br />
  wdPasteRTF = 1,<br />
  wdPasteShape = 8,<br />
  wdPasteText = 2,<br />
 }WdPasteDataType;<br />
　<br />
 typedef enum WdBreakType{<br />
  wdPageBreak = 7,<br />
  wdColumnBreak = 8,<br />
  wdSectionBreakNextPage = 2,<br />
  wdSectionBreakContinuous = 3,<br />
  wdSectionBreakEvenPage = 4,<br />
  wdSectionBreakOddPage = 5,<br />
  wdLineBreak = 6,<br />
  wdLineBreakClearLeft = 9,<br />
  wdLineBreakClearRight = 10,<br />
  wdTextWrappingBreak = 11,<br />
 }WdBreakType;<br />
　<br />
 typedef enum WdGoToItem{<br />
  wdGoToBookmark = -1 ,<br />
  wdGoToComment = 6 ,<br />
  wdGoToEndnote = 5 ,<br />
  wdGoToEquation = 10 ,<br />
  wdGoToField = 7 ,<br />
  wdGoToFootnote = 4 ,<br />
  wdGoToGrammaticalError=  14 ,<br />
  wdGoToGraphic = 8 ,<br />
  wdGoToHeading=  11 ,<br />
  wdGoToLine = 3 ,<br />
  wdGoToObject = 9 ,<br />
  wdGoToPage = 1 ,<br />
  wdGoToPercent = 12 ,<br />
  wdGoToProofreadingError = 15 ,<br />
  wdGoToSection = 0 ,<br />
  wdGoToSpellingError = 13 ,<br />
  wdGoToTable = 2 ,<br />
 }WdGoToItem;<br />
　<br />
 typedef enum WdGoToDirection{<br />
  wdGoToAbsolute = 1,<br />
  wdGoToFirst = 1,<br />
  wdGoToLast = -1 ,<br />
  wdGoToNext = 2 ,<br />
  wdGoToPrevious = 3 ,<br />
  wdGoToRelative = 2 ,<br />
 }WdGoToDirection;<br />
　<br />
 typedef enum WdPageFit{<br />
  wdPageFitBestFit = 2,<br />
  wdPageFitFullPage = 1,<br />
  wdPageFitTextFit = 3 ,<br />
  wdPageFitTextNone = 0 ,<br />
}WdPageFit;</p>
<p>typedef enum OpenedFileType{<br />
  oaUnknown = -1,<br />
  oaNoOpened = 0,<br />
  oaWord = 1,<br />
  oaExcel = 2,<br />
  oaPowerPoint = 3 ,<br />
  oaVisio = 4 ,<br />
  oaProject = 5 ,<br />
}OpenedFileType;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

