Indexing
I tried a post the other day and I'm not sure if its
working, if you get this please email me at
topdev@goodnets.com.
HOw can I comprehensively index a word document?
I'd like to show which words appear on which pages.
I looked up indexing in help and it seems all manual.
I made a program to iterate through the object model and
it can give me the word count and the word but I cant
relate this to page number of paragraph number in word
plus its really slow for a large document.
thanks alot and if there is a better newsgroup or resource
to refer to please let me know.
thanks again. Tag: my word screen keeps clicking off Tag: 59079
my word screen keeps clicking off
when i have my word document up and i'm typing about every 45-60 seconds the
screen clicks off. By that i mean as i'm typing it is like clicking on the
tool bar (in a blank spot) and the top bar that is usually dark blue goes to
a light blue which means that even though you have that screen up it isn't
able to type anything in...is there some sort of timer on this program? Tag: my word screen keeps clicking off Tag: 59078
Automation Between Outlook 2003 and Word 2000
We used to have Outlook 2000 with Word 2000 and I used the automation code
below which worked fine. We then migrated to Outlook 2003 with Word 2000 and
the same piece of code does not work. What am I missing? Pls help. See code
below:
Dim myOutlook As Object
Dim myInspector As Object
On Error Resume Next
Set myOutlook = GetObject(, "Outlook.Application")
If myOutlook Is Nothing Then
Set myOutlook = CreateObject("Outlook.Application")
End If
On Error GoTo 0
If myOutlook Is Nothing Then
MsgBox "Application Not Available"
End If
Set myInspector = myOutlook.ActiveInspector
myInspector.Activate
MsgBox myInspector.CurrentItem.Subject, vbInformation
Set myOutlook = Nothing Tag: my word screen keeps clicking off Tag: 59074
Spellcheck Locked Word Form
Word 2003: I assist in designing custom forms (using the FORMS Toolbar) for
my company. I Recently ran into a snag...To preserve the intergrity of our
fomrs, all forms are locked prior distribution. However, with the document
locked the users no longer have the option to run SpellCheck. Any
suggestions? Tag: my word screen keeps clicking off Tag: 59071
FormFields().Result - hidden text
Good day all,
I have the following Word 2000 VBA code:
txtTemp = ActiveDocument.FormFields("myField").Result
However, I'm having trouble with the statement returning a
".Result" if the FormField is Font Formatted as "Hidden" text.
The following statement has no trouble setting the "myField"
value, even when it is Font Formatted as "Hidden" text.
ActiveDocument.FormFields("myField").Result = 1234.56
Is this a VBA "feature"?
Is there a work-around?
Thanks in advance,
Graig Tag: my word screen keeps clicking off Tag: 59066
Using Hyperlinks in Protected Forms
I have followed the FAQ
(http://word.mvps.org/FAQs/TblsFldsFms/HLinksInFormsContent.htm) to the
letter, and I can't get hyperlinks in protected forms to work properly.
I have several hyperlinks pointing to bookmarks within the same Word XP
document. This is a form that the user fills out; the hyperlinks take them
to a spot in the document which explains the section of the form they're in.
But after I've created the macro, added the macrobutton to the hyperlink
field, and protected the form, when I double-click on the hyperlink/button,
the location jumps to the very next text field in the document, nowhere near
the intended bookmark. All of my descriptions have been bookmarked, and the
hyperlinks are pointing to the bookmarks as necessary.
Will this trick work with internal hyperlinks? Or is it really only intended
for external weblinks?
I would appreciate any advice or guidance.
Thanks,
Beck Tag: my word screen keeps clicking off Tag: 59065
Is there a style sheet for Word when a Word document is opened in
Hi! I'd like to know if there exists a technology to change an appearance of
a Word document when the document is opened in IE browser? In other words, if
I open an existing document in IE, can I change the document style on the
client?
Many Thanks for your help, Tag: my word screen keeps clicking off Tag: 59064
Problems With Reference to Addin
Hi Folks,
I'm having trouble with a Template which sets a reference to an addin using
MyTemplate.ThisDocument.VBProject.References.AddFromFile strRef.
If the document needs to move to another environment which has a different
setup to the originating env it can use a Wizard, which opens the document,
adds the addin appropriate to that env using "AddIns.Add
FileName:=strTemplate(1), Install:=True".
But something somewhere goes wrong and when i check my references it says
Missing and points to a temp file : C:\Documents and Settings\User\Local
Settings\Temp\3\WRL????.???
**This is in the wizard to open the doc**
Set MyDialog = Dialogs(wdDialogFileOpen)
MyDialog.Format = wdFormatDocument
If MyDialog.Display <> -1 Then GoTo ErrOpen
MyDialog.Execute
ActiveDocument.AttachedTemplate = ""
End If
Can anyone help me with this?
Cheers
J Tag: my word screen keeps clicking off Tag: 59063
How to make simple XSL transforms for Word content?
I would like to be able to apply XSL transforms to Word XML content that
would allow me to open the same content in multiple Word templates with
different designs (i.e. different header and footer for same main content.) Tag: my word screen keeps clicking off Tag: 59057
Link to PDF file using VBA?
It is possible to link Word to an Excel spreadsheet via VBA command similar to
this:
Selection.InlineShapes.AddOLEObject ClassType:="Excel.Sheet", filename:= _
"C:\excel\datasheet.xls", linktofile:=True, DisplayAsIcon:=False
Is a similar (or dissimilar, but functional) link to a .pdf file possible? I
just want the 'image' of the file, not ability to edit, etc..
Thanks.
Roy Tag: my word screen keeps clicking off Tag: 59053
automatically update file name in header when saving as a differe.
I work for the local council and have been asked to create a template (to be
used by many different inexperienced users) where the filename in the header
needs to be automatically updated when saving under a few filename (without
using f9 or macros) - the other users are at a very basic level and would not
be happy with having to press extra buttons or go into the header area.
I have tried putting in IF field codes, which do work, but you still have to
go into the header and press F9
PLEASE!!! Can someone help??Thanks. Tag: my word screen keeps clicking off Tag: 59050
Font size is changed when runnning search
Hi
I have words in a table which reflect the tones of a foreign language
eg thee (falling tone)
But this special format is changed and becomes
thee (flat tone)
when I do a word search using the following two macros.
As I can't see a line for font, I wonder which line is causing the font size
to change and can I take it out without any other side effects.
Thanks in advance
Sub Highlight()
Dim sSrc As String
Options.DefaultHighlightColorIndex = wdYellow
sSrc = Selection.Text
Resetsearch
Selection.SelectColumn
With Selection.Find
.Text = sSrc
.Replacement.Text = sSrc
.Replacement.Highlight = True
.MatchWholeWord = False ' or true if you like
.Wrap = wdFindStop ' !!!
.Execute Replace:=wdReplaceAll
End With
Resetsearch
End Sub
Sub Resetsearch()
With Selection.Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
.Execute
End With
End Sub Tag: my word screen keeps clicking off Tag: 59048
Hide fields
Hi,
I know how to hide all shapes in a document before
printing:
With ActiveDocument
iNum = 1
Do Until iNum = .Shapes.Count + 1
.Shapes(iNum).Visible = msoFalse
iNum = iNum + 1
Loop
iNum = 1
End With
But if I try to use the same method to hide all fields in
the document, there is no such thing as:
.Fields(iNum). Visible = msoFalse
The field I want to hide is:
{ MACROBUTTON NoMacro [Click here to type your text] }
and I don't think is nice to show that field on the print
out.
Any clue would be very appreciated.
/ Ulf Tag: my word screen keeps clicking off Tag: 59047
Change date in header
Hello All,
I am using wind XP and office 11. I want to replace the date field in header.
The date field is autodated, and I want to replace it with last modDate.
I can replace the autodate in the document body. but I couldn't do it in the
header.
Can anybody help?
Thanks
Karen Tag: my word screen keeps clicking off Tag: 59042
Mouse Move to close user form Causes Automation Error
Mouse Move Causes Automation Error
I want to use mouse move to close a second form (hide or unload)
It works fine until I make it a .dot in the startup folder, then I get an
Automation error.
I've tried several things, including using 'on error resume', but can not get
it to work as a .dot in Start Up.
Any suggestions would be appreciated.
TIA Tag: my word screen keeps clicking off Tag: 59034
Date picker for Word 2002?
Does anybody have some VB code they're willing to share with me so I can
install a date picker in a Word 2002 document? Tag: my word screen keeps clicking off Tag: 59033
How do I create a macro to submit a document in e-mail?
I would like to use a macro to submit a document in e-mail. The macro would
save a completed MS Word fill-in form to the local users desktop, launch a
new e-mail message, and insert the saved document into the new massage. From
there the user could fill in the subject line, add any desired text in the
body and send to the desired recipient. I would like to be able to run this
macro within Word by clicking a "Submit" button at the end of the form. Can
anyone help me out? Tag: my word screen keeps clicking off Tag: 59032
Run word docs on their own window
Does anyone know how to change the setting so word doc can be open in their
own windows? Tag: my word screen keeps clicking off Tag: 59031
Intercept {Enter} key in VBA
I have written a routine "InsertPageBreak" that checks the Selection range
to ensure that no bookmarks will be split by insertion of the page break.
I would like to do the same for whenever the {Enter} key is pressed to
start a new paragraph, but I can't find a Word command that is initiated
by the {Enter} keystroke.
All help is greatly appreciated.
--
Tim Shaffer Tag: my word screen keeps clicking off Tag: 59030
some of my fonts(letter) becoming signs&symbols ! WHY?
A friend installed , yesterday ,on my computer (window xp home sp2) Lavasoft
Ad-Aware 6 & PestPatrol , so that I will be able " to get rid " off all the
SpyWare & Ad-Aware "programms" that was installed in my computer ; not long
after , as he was "deleting" some of these Spyware & Ad-Aware my FONTS
(letter)started tO "VANISH / TURN to (become) " SIGNS & GEOMETRICAL SYMBOLS (
at first I thought that it was "chinese" ) . Everything on myDesktop & in the
START menu ,control panel , EVERWHERE in WINDOW XP ALL THE TITLED SENTENCES
/ TITLES GOT AFFECTED ... I REBOOTED , BUT IT WAS STILL ALL SIGNS & GEO.
FIGURES ....WHY .??? WAS SOMETHINGS " IMPORTANT" DELETED ..?? AND IF SO I
COULD I GET BACK MY "FONTS / LETTERS" BACK ..???? THANK YOU . Tag: my word screen keeps clicking off Tag: 59029
Word in browser, formatting question
Hi! I generate a report in a jsp page and change the ContentType on the page
to
application/msword. The document opens up in a Word in IE. However, when the
document is opened, it's loosing some formatting and when the users try to
save it, it gives a warning that some formatting is going to be lost.
My question is: Can I change formatting and appearance of the document on
the client without programming against the Word object model ? What else can
I do to satisfy the requirement that the users should be able to save it to a
.doc format?
Many Thanks in Advance, Tag: my word screen keeps clicking off Tag: 59027
autotextlist field control
hi,
how can i get the click_event fired when i right click mousebutton within a
autotextlist field ,not using vba or macro,but only VB programming? Tag: my word screen keeps clicking off Tag: 59021
Changing Paragarphs in a Range
I am interested in defining a range of paragraphs in the main story of a
document based upon a selection and then chaging the first few characters in
each paragraph in that range. When I try to update a paragraph using a "for
each" loop the range is redefined apparently due to the change and I canonot
effect a change in more than one selected paragraph. Tag: my word screen keeps clicking off Tag: 59013
FileSearch Object not working
I have a macro which uses a Shell FTP to retrieve a file from UNIX to Windows
to be used as a data source for a mail merge (just acomma deleimited test
file). At one site which is running Windows XP and Word 2002 I'm having
problems with the FileSearch object not finding the file after the successful
Transfer of the file.
First the user was getting a runtime error #70 Permission Denied and after
checking with the site's IT dept. and being assured that the user has Full
rights to the network directories where the action is taking place, the error
continued. I then commented out a KILL command which got rid of the
premissions error (it deletes the script I created to be used in the FTP),
but after that the macro does a file search to be sure that the file is
really there and it always fails, even though I can see the file in the
directory.
The code is:
'***** Delete file with userinformation
Kill (DownloadPath & "Ftpget.txt")
'***** Check if file is present after download
Set objFSO = Application.FileSearch
With objFSO
.LookIn = DownloadPath '***Path to where file is
.FileName = FileToGet '**Name of file
.MatchTextExactly = True
If Not .Execute > 0 Then
'***** File doesn't exists, display error message!
ElseIf FileLen(DownloadPath & FileToGet) < 10 Then
'***** File does infact exists, now check if it is more then 0 bytes =)
error message2
Else
'***** File download succesfull
End If
End With
Set objFSO = Nothing
The user always recieves the first error message. I've check the references
and they are all the same. This code works at other sites. Is there
something that was not installed on this user's machine? Can anybody help?
I'm out of ideas.
Thanks,
Steve Tag: my word screen keeps clicking off Tag: 59005
HT mine data from Word to SQL Server
I need to be able to somehow mark parts of an existing
Word document, pull the marked data from the document and
map it into a table in SQL. I have seen information on
how to do it from Excel, but not for Word. Can you point
me in the right direction? Tag: my word screen keeps clicking off Tag: 58996
Changing numbers
** This is a re-posting of the question asked on word.vba.beginners on 9
November. I'm reposting it here due to a paucity of responses to my first
post! **
We sometimes get documents where paragraph numbering needs changing
and for one reason or another we cannot use automatic paragraph
numbering in the document, just manual numbering. I am trying to
write a macro that will enable you to renumber basic paragraphs in a
document (nothing fancy, just ones numbered 1, 2, 3, 4 etc).
I am using the Selection.Find method to search for the first number,
then I want to replace it with another (incremented) number, search
for the next number, replace that, and so on till the end of the
document. I cannot get this to work. If finds the first number and
replaces it but then stops. Here's the code I've got so far, and I
daresay I'm going about it the wrong way.
Sub ReplaceNos()
Dim a As Integer
Number = 1
Selection.Find.ClearFormatting
With Selection.Find
.Text = Number
.Forward = True
.Wrap = wdStop
.Format = False
Do While .Execute
if Selection.Information(wdHorizontalPositionRelativeToTextBoundary)/72<2
then
Number = Number + 1
a = Selection.Text
a = a + 5
Selection.Text = a
Selection.Collapse Direction:=wdCollapseEnd
End if
Loop
End With
End Sub
This *should* search for the digit 1 and, if it is within the first 2
inches of the left margin, replace it with 6. Then search for "2",
replace it with 7, etc etc.
Silly question... why does it not work? I really need a lot more
knowledge of how the selection.find method works, I think!
Steve Wylie Tag: my word screen keeps clicking off Tag: 58994
Word templates over a WAN
I have a client that has an interesting problem.
The IT department wants control over templates that are installed on their
corporate intranet. The network is broken up into several LANs operating at
100Mbs that are interconnected using a WAN at 7Mbs. They also have users
that connect to the intranet using either dialup/broadband using a VPN. All
templates are stored on their central server and they have the path to the
templates set for each individual user using the Workgroup templates.
A user that creates/uses a document that uses the template from the LAN
experiences a 2 to 3 second delay. This user A saves the document and sends
to user B that is on a different segment of the WAN. When user B opens the
document then the open will take 20 to 30 seconds to complete. Each of the
templates is running some VBA. Some users experience wait times of upto 20
minutes when opening a document.
My guess is that when the document is opened by user B it is trying to
reference the template that is on user A's segment of the WAN.
I have the following recommendations for the client:
1) Replicate the servers for each of the segments such that the template is
resolved to the local LAN.
2) Deploy the templates to each and every client machine on their network.
Provide an installer that each user will use to install on each individual
system.
Any thoughts or comments? Tag: my word screen keeps clicking off Tag: 58993
error when changing a paragraph style
My document has a paragraph style named "myData." When I select one
paragraph and run this subroutine:
For Each para In Selection.Paragraphs
para.Style = myData
Next para
I get the following error message:
"One of the values passed to this method or property is out of range,"
and the line:
para.Style = myData
is highlighted.
What am I doing wrong? Tag: my word screen keeps clicking off Tag: 58992
Check is a Word file is empty
How would I check if a Word file does not contain either data or code?
Thanks Tag: my word screen keeps clicking off Tag: 58991
Using outlook contact details
CAN I USE CONTACT INFORMATION IN OUTLOOK CONTACTS TO WRITE LETTERS OR A FAX
IN WORD? Tag: my word screen keeps clicking off Tag: 58990
Finding Boot Drive
Is there a function for finding the boot drive from within VBA that
will work will with Word '97 and later for Windows '98 or later?
I have an installer that installs an INI file in the Windows directory
on the user's system, which may or may not be on the C: drive. When my
template opens, I need to read that INI file, but I'm not sure how to
know the drive to use.
Thanks in advance,
gary Tag: my word screen keeps clicking off Tag: 58989
Determine if cursor on a graphic
Does anyone know how to programmically determine if the
cursor/current selection resides on ANY type of graphic?
Thanks a bunch. Tag: my word screen keeps clicking off Tag: 58988
Tracked changes and outline levels
In code, how do I read a tracked change in Word and know the outline level?
I want the code to find a tracked change, read it, record the outline
number/level, and write a summary of the change.
For example, if paragraph 3.1 of a document had a tracked change that showed
the word "contract" was replaced with "purchase order", I want the code to
write the following: "In paragraph 3.1, replace 'contract' with 'purchase
order'." Tag: my word screen keeps clicking off Tag: 58979
Switching Between Printers in a Single Macro
Hello,
I am in a fix. I have a macro that basically needs to perform the following
tasks:
Save a mail merge document to an RTF with a specific name. (So far so good
on this one!)
Print the RTF to a PDF file.
Print the RTF to the printer on LPT1.
Delete the RTF.
Close any remaining open windows.
Most of the macro is working fine. My trouble is switching between the two
printers. No matter what I do, the default printer is being changed to Adobe
PDF. I either need to know how to prevent this or how to switch it back to
the printer on LPT1.
The template, which incorporates this macro, is being distributed to several
different people each with different printers and printer names.
Is there a way to accomplish what I need????
Here is my macro so far ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub OSDFileSaveAsRTF()
'
' OSDFileSaveAsRTF Macro
' Save merged file as an RTF file
'
With ActiveDocument.Bookmarks
strFileName = .Item("OSDNumber").Range.Text
strFileName = strFileName & .Item("BasicForm").Range.Text
End With
ActiveDocument.SaveAs FileName:="c:\osd\" & strFileName & ".rtf", _
fileformat:=wdFormatRTF
'Print saved RTF File to PDF File
With Dialogs(wdDialogFilePrintSetup)
.Printer = "Adobe PDF"
.DoNotSetAsSysDefault = True
.Execute
End With
'ActivePrinter = "Adobe PDF"
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="",
PageType:=wdPrintAllPages, _
Collate:=True, Background:=True, PrintToFile:=False,
PrintZoomColumn:=0, _
PrintZoomRow:=0, PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0
'Set active printer back to printer on LPT1
'ActivePrinter = " on LPT1:"
'Delete RTF File
'ActiveDocument.Close
'Kill "c:\osd\" & strFileName & ".rtf"
'Close remaining active documents
'ActiveDocument.Close savechanges:=wdDoNotSaveChanges
End Sub
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any help would be greatly appreciated.
Thanks in advance for your assistance.
Regards,
Gilley
aka DilbertIsMyHero Tag: my word screen keeps clicking off Tag: 58978
Switching Printers within the same Macro
I have searched and searched for a solution to my problem. I have found bits
and pieces but nothing to tie it all together.
I have a macro which basically does the following:
Saves a merge document to an RTF file.
Prints the saved RTF file to a PDF file.
Prints the saved RTF file to the printer on LPT1.
Closes the active window.
Deletes the RTF file.
Closes remaining open windows.
The problem lies in switching between the Adobe printer and the printer on
LPT1. This template, which contains the macro, will be distributed on
several different computers. Each computer has its own printer with its own
name.
I am saving to the RTF file so that the PDF file is forced to have the same
name in a specific directory.
Below is my macro (such as it is right now)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub OSDFileSaveAsRTF()
'
' OSDFileSaveAsRTF Macro
' Save merged file as an RTF file
'
With ActiveDocument.Bookmarks
strFileName = .Item("OSDNumber").Range.Text
strFileName = strFileName & .Item("BasicForm").Range.Text
End With
ActiveDocument.SaveAs FileName:="c:\osd\" & strFileName & ".rtf", _
fileformat:=wdFormatRTF
'Print saved RTF File to PDF File
With Dialogs(wdDialogFilePrintSetup)
.Printer = "Adobe PDF"
.DoNotSetAsSysDefault = True
.Execute
End With
'ActivePrinter = "Adobe PDF"
Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="",
PageType:=wdPrintAllPages, _
Collate:=True, Background:=True, PrintToFile:=False,
PrintZoomColumn:=0, _
PrintZoomRow:=0, PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0
'Delete RTF File
ActiveDocument.Close
Kill "c:\osd\" & strFileName & ".rtf"
'Close remaining active documents
ActiveDocument.Close savechanges:=wdDoNotSaveChanges
End Sub
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I hope you can make heads or tails from the above since the line breaks are
messed up.
I basically want to make sure at the end of the process that the default
printer is the printer on LPT1 not Adobe PDF. No matter what I do, the
default printer keeps getting switched over.
Any help would be appreciated. And thanks in advance.
Regards,
Gilley
aka DilbertIsMyHero Tag: my word screen keeps clicking off Tag: 58976
How to hide the Auto* for user use ?
[Posted to microsoft.public.word.vba.general and copy sent to the cited author]
Hi,
How to hide the AutoOpen, AutoNew and AutoClose macros from the list
which appears when uqser go to Tools/Macro/Macros.
Knowing, I don't wish to lock access to this list (ie. remove the Macro
command in menu) nor erase these subs in the code by itself (since I
just want to stop the user calls but not the internal ones).
Any idea ? Tag: my word screen keeps clicking off Tag: 58973
Finding Bookmarks in Headers
I need to be able to goto a bookmark in a header and I use several different
headers in the same document by using section breaks. I have not determined
how to do this since the headers are not visible in the goto list. I am
using word 2002 sp3 Tag: my word screen keeps clicking off Tag: 58968
Template Codes/Signature
I'm not sure this is the correct forum, but our department has 10-12
templates that we all use. Up to now, we've been maintaining our own copies
in our Office Template folder, but would prefer to keep one authoritative
copy in our departmental folder, and configure each user's Word to look in
that folder also.
We can insert a Field code to insert the username, but we'd like to insert a
scanned signature also, tied to the user.
Does anyone know how to do this?
Thanks for all help.
Sprinks Tag: my word screen keeps clicking off Tag: 58966
Extending match time for a combo box
Hi all,
I have an application (a Word 2002 VBA macro) that requires users to make a
selection from a combo box. The users typically type text to make the match,
but the 2-second default timing for the combo box isn't enough. They're
complaining that they'd like more time to type.
I can't find any properties on the ComboBox to change this. I did find this
text in the Help documenting the time allowed for matching:
"The matching feature resets after two seconds (six seconds if you are using
Far East settings). For example, if you have a list of the 50 states and you
type "CO" quickly, you will find "Colorado." But if you type "CO" slowly,
you will find "Ohio" because the auto-complete search resets between
letters."
Has anyone figured out a way to change this behavior so it takes longer than
2 seconds to reset?
Thanks,
Doug Tag: my word screen keeps clicking off Tag: 58963
eliminating corruption from pasted in text
Many style, bullet, and numbering problems seem to start when text is pasted
in from another Word document. Can someone suggest a way to use VBA to get
text from another document without causing corruption?
Thanks,
Keith Tag: my word screen keeps clicking off Tag: 58960
custom menu items linked to 'remote' macro
I'd like to add a custom menu item (easy enough), but want the macro to point
to macro located in a file on the network. The reason for this is so that
many users will use this macro and I dont want to have to maintain each
user's normal.dot file.
I want a single source for the macro, so that users can benefit from
updates/bug fixes/revs etc without having to copy the code each time there's
a revision. It seems the problem is that the only macros that show up as
available for menu items are located in the normal.dot file (stored locally).
I program Excel quite a bit, and it's easy enough to link a menu item to a
networked spreadsheet. But it seems this option is not available to Word? If
not, are there any elegant solutions/workarounds? Tag: my word screen keeps clicking off Tag: 58953
shift tabs for a selected paragraph?
I need to shift all of the tabstops for a selected paragraph to the right by
a given amount, say 0.2 inches. So far all of my approaches meet with error
messages or unexpected results. Can someone suggest a way of accomplishing
this?
Thanks,
Keith Tag: my word screen keeps clicking off Tag: 58952
VBA to remove toolbar and menu choices
How can I use VBA to remove toolbar and menu choices for a particular
document?
Thanks,
Keith Tag: my word screen keeps clicking off Tag: 58949
Intercept a toolbar or menu function call?
In Word Office 2003 with SP1, is there a way to intercept the function call
to a menu item or toolbar button, so that it uses custom functionality in
place of the standard Word functionality?
Thanks,
Keith Tag: my word screen keeps clicking off Tag: 58948
Fill Word table from external data source?
I have a series of Word documents that display detail about a single topic.
For one of those pieces of detail, an Access database contains the detail for
all topics (simple table that includes a column for topic name). This allows
us to view all the detail for a specific topic in one place, but also allows
us to view all the info for a specific detail data item across topics.
I don't want to update both places when a change is made. Is it possible to
keep the data in the Access database, then dynamically fill a table in each
Word doc with the detail for its specific topic when the Word doc is opened? Tag: my word screen keeps clicking off Tag: 58946
Find "Previous" or "Backwards"
Word 2003. Windows XP
The Word find dialog only has "Find Next". There doesn't seem to be
any way to "Find Prvious" or whatever command to search/find backwards
through the document.
Is there any way to do this with some VBA code? It should be hooked
to the current Find process. I.E. One Keyboard shortcut would "find
next" and another would "find previous."
I'm looking for a way to go directly back to the prior hit, or second
prior hit, but then proceed forward again. A locked loop to go
through the entired document in the bacwards direction only isn't
really helpful.
Thanks for any help.
Fred Holmes Tag: my word screen keeps clicking off Tag: 58942
Macro Button Appearanc
Does anyone know how to show a macro button as used?
Let me explain - word standard bold button, if your cursor is in text that
is bold the button appearance is depressed or it looks activated. when the
text is not bold the button appears normal.
I would like to add that functionality to a template I am working on,
however I have been unable to find any documentation on how to achieve this. Tag: my word screen keeps clicking off Tag: 58940
Changing the selection position
Hi all
I woder whether there is any way of changing the position of the selection
to another position e.g. a cell in a table
or just Go to end of document, beginning of document etc.
Thank you in advance
Shmuel Tag: my word screen keeps clicking off Tag: 58931
Can I associate a smart tag with an custom object?
Hi
I want to associate a smart tag with a custom object within Word, Excel,
Powerpoint. The objects can be a table, chart or text that have special
properties which enable its contents to be remotely updated from a web server
(via SOAP/XML interface). I want to associate a smart tag with these object
types to enable users to perform certain actions on the object, such as
"refreshing" the table, chart, text from the remote web server.
After reading all about Smart Tags, I am sure this is possible, though
possibly Smart tags are not the best solution. If I use Smart tags, I would
not need to code a recogniser, as the object would only need to be associated
with a smart tag and its actions upon creation. I was thinking that perhaps a
better way to do this would be to provide a context-sensitive pop-up menu for
each object and enable the user actions through this menu.
Does anyone have any advice on this topic?
Regards
M
--
Mark McGillion PhD Tag: my word screen keeps clicking off Tag: 58925