Questions tagged [word-2003]
Microsoft Word 2003 is a commercial document editing program used for creating richly formatted documents for printing and distribution.
62
questions
0
votes
1
answer
59
views
How do I get table information in word2003 using POI?
I try to get the width of each cell and then calculate their greatest common divisor to get the colspan of each cell, but how do I get the cell Rowspan? I tried using the method TableRow.getRowHeight()...
0
votes
1
answer
85
views
Can you restore a word document from 97-2003 only using its Compound File streams? [closed]
I am trying to recover a word document that was using 97-2003 version. I do not remember why I did this, but I saved off the Compound File streams into a folder, and it is definitely something I would ...
0
votes
1
answer
323
views
more than one Select All Checkboxes for each frame
Following Userform has 4 (Four) Select All Check-boxes.
SelectAllE for Eastern Europe
SelectAllA for Middle East & Africa
SelectAllL for Latin America & Caribbean
SA for Select All ...
0
votes
1
answer
796
views
Perform a macro by Checkbox Input
I have Check-Boxes with caption of country Names and a OK button on User-form,
User will Mark required Check-Boxes and click OK to submit the form.
Expected Result: For each checked Box there is a ...
1
vote
1
answer
82
views
Scroll to view buttons where there are a varying number of buttons
I have selected a Sentence.
1) The sentence can vary.
2) I have split each word of the sentence.
The code below creates a list of Word array from Selection.
Sub Seperate_Words()
Dim WrdArray(...
1
vote
1
answer
142
views
VBA Microsoft Word 2003 + MsgBox and changes to a .doc file
In MS Word 2003 can an user execute a VBA macro with inside some MsgBoxes and at the same time modify the open word document?
With an human-type example:
suppose I have a .doc file opened with some ...
1
vote
3
answers
342
views
Count all Comma In Selection or selected text
I want to count all Commas "," that occur only in selected text after that I will use Count as Integer to run the loop
My question is how do i Count , as following Image shows:
I Don't know how to ...
0
votes
2
answers
6k
views
Detect if selection is Letter or not
My document contains lot of blank spaces and paragraph marks.
What I want to do is detect if the Character Selection.find is any letter from A to Z?
Dim EE As String
Selection.Find.ClearFormatting
...
0
votes
2
answers
2k
views
Find text after using Selection.Extend function
I have used Selection.Extend to make selection of particular text from Start to End Now Text is in selection from the following code:
Selection.Find.ClearFormatting
With Selection.Find
...
0
votes
2
answers
73
views
If there is no Table then do else
I want to find some text if this text is in table then convert the table into text else do nothing
But when there is no Table it gives an Error
Selection.Find.ClearFormatting
With Selection.Find
...
2
votes
1
answer
73
views
Finding Uppercase Letters including small brackets ()
I want to Find Four UPPERCASE/CAPITAL Letters which must include small brackets ().
For example (ABCD)
Following code work fine with letters but it does not highlight brackets.
I think it is not ...
1
vote
1
answer
48
views
Moving to next cell in another document
While working in Range of another document TCN.docx I am getting Error of method or data member not found on rng.MoveRight unit:=Cell position.
Sub TNC()
Dim odoc As Document
Dim rng As Word.Range
...
0
votes
1
answer
184
views
Python: Writing text to a 2003 Word Doc in a specific place on the page
I'm using Python 2.7, Windows 7, and Word 2003. Those three cannot change (well except for maybe the python version). I work in Law and the attorneys have roughly 3 boiler plate objections (just a ...
1
vote
1
answer
7k
views
How to use VLookup in Word VBA?
I am trying to prompt user to for an input, then lookup that information from an Excel Report. And populate the Word Document, but I am not sure where the mistake is. I tried to base the code from ...
3
votes
1
answer
12k
views
jump to another page in word with visual basic
I am working with visual basic now for the first time in word 2003.
I want to know if there is a way to jump to another pagenumber.
I have a checkbox and if that checkbox is true it has to redirect ...
0
votes
0
answers
3k
views
Opening a VS2008 project in Windows 8.1, that was a previously created
I am facing a problem when opening af VS2008 solution. The project is a MS Word 2003 Add-in.
The solution was created with VS2008 a while ago, by someone else.
I have Windows 7, VS2008 and MS Word ...
0
votes
1
answer
168
views
Word 2007 to Word 2003 VBA method not found
This code was written in Word 2007.
With Selection.Tables(1)
If .Style <> "Table Grid" Then
.Style = "Table Grid"
End If
.ApplyStyleHeadingRows = True
....
0
votes
2
answers
1k
views
Copy ComboBox from a Word Document to another Word Document with vba
I have a combo box (combo1) in a word document and I would like to copy it to another word document. (end game will be looping through 100's of docs).
I can't for the life of me work out how to ...
0
votes
1
answer
3k
views
C# Interop Word - Read RTF data from a string
I have RTF data in a string str and i would like that data to be loaded in MS word object. I've seen Documents.Open()method but it needs a physical file path to read a particular file and i don't have ...
4
votes
1
answer
10k
views
Word BuiltInDocumentProperties don't change
I have a macro in Word 2003 that applies the property fields of the open document to all the .doc's in the same folder. The code works once. If I create a folder, create three new documents in that ...
1
vote
1
answer
475
views
How to hide confirmConversion dialog when open docx file with help 2003
I use eclipse swt in my application. It allows me open word files (doc, docx, rtf).
But I cannot hide "Confirm Conversion at Open" dialog programmaticaly when open docx file (doc or rtf open fine). ...
3
votes
1
answer
902
views
Word 2003 VBA - How do you disable 'Word has insufficient memory'' warning
I am running Word 2003.
I have a Word Document, from which I run a macro that opens other Word Documents and preforms tasks on them before saving and closing them.
Because of the number of changes I ...
0
votes
1
answer
1k
views
Detect if space either side a bookmark, if not add them
I have several bookmarks in several Word Documents that need spaces added before and after all Bookmarks where a single space does not currently exist on either or both sides. I only want to be able ...
0
votes
1
answer
571
views
XSLT use blank lines
I have the following XML:
<node><mtype>code</mtype><mtext><script>
// a Javascript example
alert("Hello World");
</script></mtext></...
1
vote
0
answers
39
views
How to prevent decimal truncation in Word 2003 with Web Service auto population
I have a document template which is being auto populated via an external web service. The incoming data exists as a currency (e.g. 3.10) but when it is passed into the Word Document template the ...
0
votes
1
answer
73
views
VB Script - Unsure how to code for 81 possible results
Firstly thanks for looking at the question and any help is much appreciated.
My Problem: I have 9 String variables and want these to show in a 'roundup' String to display content if a value exists ...
0
votes
1
answer
4k
views
Document.SaveAs2() gives COMException (0x80020003): Member not found exception when both Office 2003 and Office 2010 are installed
I have a visual studio project that read a Word file, does some processing and then saves it as a PDF file. The code worked perfectly on my machine which only had Office 2010 installed, but when I ran ...
1
vote
1
answer
183
views
Word 2003 add in load failure
I've developed an add in for Word 2003 Standard Edition using the IDTExtensibility2 interface using Visual Studio 2008 on Windows XP. The add in runs fine on the development machine. Unfortunately ...
1
vote
2
answers
4k
views
how to check if word document has printed already
I want to enable another function "code" only if the document has been printed already, i was thinking something along the lines of
Sub Testing
Dim hasPrinted as boolean
If ActiveDocument....
1
vote
1
answer
4k
views
How to save the selected items in a listbox?
I have written a simple listbox for a Word form. I wrote this simple code:
Private Sub ListBox1_Click()
Me.ListBox1.AddItem "ZZ"
Me.ListBox1.AddItem "yy"
End Sub
The listbox works, but I ...
2
votes
2
answers
1k
views
disable "you copied a large amount of data onto the clipboard" warning in word 2003
This code-snippet (from VB6) starts an Word 2003 application and adds a new document:
Dim WithEvents wApp As Word.Application
Dim WithEvents wDoc As Document
Set wApp = New Application
wApp....
4
votes
2
answers
5k
views
Adding a base64 encoded image to Microsoft Word document
I want to add an image to my Word document which should be added as a base64 encoded image. I have a jpeg. How can I add it to my Word document as a base64 encoded data? I did some research and got to ...
1
vote
0
answers
36
views
word 2003 how do you redraw a window?
Sorry, I know this should be a basic question but I can't seem to find the answer.
How do you redraw an office word 2003 window in c#? right now I have the window minimizing and maximizing.
Thanks.
1
vote
1
answer
633
views
COMAddIns how to turn them on/off programmatically in Office Word 2003
I need to be able to turn off a COM add-in in Office Word 2003 but still keep it in the COMAddIn list (just not enabled).
I have found the COMAddIn.Connect flag and I set it to false to try and turn ...
0
votes
0
answers
858
views
docx file icon shown differently in my windows7 pc?
I have my windows 7 machine.But in my pc, icon for doc and docx shown in differently.I have also attached the screen shots for your reference.
I have saved doc file as type word97-2003 Document(*.doc)...
0
votes
1
answer
547
views
Not able to bring in front the frames in Word 2010
I have similar doucment in Word 2003 and Word 2010 and all the styles been imported to Word 2010 document.
In Word 2003 I have a frame and document with two columns and a seperator line as shown ...
8
votes
7
answers
469
views
XML editor like Word 2003
I search an XML Editor focus on text annotation like Word 2003 (Screenshot), where xml tag are inline, and where you could select text and suround it with tag in one click.
0
votes
1
answer
821
views
The user gets "Unknown file type" when open docx with Word 2003
One of my customers has problems with opening of word documents. He gets "Unknown file type" when he downloads a .docx file. He has Word 2003 with plugin for .docx compatibility installed. He uses IE7 ...
0
votes
1
answer
1k
views
Using VBA, open an OpenXML format (.docx) document in Word 2003 where the extension is not .docx or .docm
I have a Word add-in that writes and reads Word documents in OpenXML format - i.e. .docx.
But so that I can easily recognize "my" documents as against normal Word .docx files I have used another ...
0
votes
1
answer
256
views
Deploy word addin ... 2003
I created a word addin for office 2003 with VS2008. It works fine but i can't deploy it.
I created 2 virtual machine (XP mode): One dev, one "client". On dev, the solution is deployed but i have no ...
1
vote
3
answers
1k
views
Word Automation Backwards Compatibility With Word 2003
I am working on some Word automation code in C#. I have Word 2007 installed on my own machine (Version 12.0.0.0 of Microsoft.Office.Interop.Word.dll) but I would like to support Word 2003 as a minimum ...
0
votes
2
answers
2k
views
set margins for 1st page different than the rest of the pages
I need to set the margins differently for the first page than the rest of the pages.
I've messed around with inserting section breaks (as from what I've read is that Word creates a section break when ...
0
votes
1
answer
390
views
Safe to perform Word automation on open document?
I'm looking to perform Microsoft Word automation -- straightforward stuff such as instructing Word to open a document and save it as an RTF file. But what happens if the user already has the document ...
0
votes
1
answer
2k
views
How to get the template filename which is currently been executed?
I have a word 2003 .Dot template that stands in the STARTUP folder of the user.
I have in this template some modules with autoexec procedures.
In one of them, I want to read a ini file. If my ...
5
votes
2
answers
3k
views
Word interop - how to close one Word window without closing all of them?
I'm using Microsoft Word Primary Interop Assemblies to slave MS Word. My application opens up its own Word window (using an instance of Microsoft.Office.Interop.Word.Application). After the app does ...
0
votes
1
answer
346
views
MS Word 2003 on open custom property value increment
I have a Word document where I've created a custom property (File > Properties > Custom)
Name: autoInc
Type: Number
Value: 999
I want to know how to auto increment the value by 1 and override the ...
0
votes
1
answer
4k
views
How do I make some text bold, using Visual Basic in Excel to create a Word document?
I've seen this, but it doesn't work for me; I don't get where to change insertafter to typetext. What should I change in the following to make part of the text bold?
Sub CreateNewWordDoc()
Dim ...
0
votes
1
answer
2k
views
How to read/write local characters from/to MSWord 2003 using Delphi 7?
I have ListView on my form containing names and numbers and I have to provide printing MSWord document with those data filled into document's tables. Everything works fine with english characters but ...
1
vote
1
answer
8k
views
Setting language, text direction and alignment in word document created by visual basic in excel
I've made an excel visual basic script that takes data from an excel sheet, and produces a paragraph in a word sheet for each row. The default language for the document is Hebrew, with text aligned ...
0
votes
1
answer
244
views
Word add-in toolbar problem
I am building a word2k3 add-in and i'm creating a new toolbar containing the relevant buttons. All seems to work fine except, depending on who is viewing the active document, certain buttons must be ...