|
|
Re-applying 'Hyperlink'-character style to all internet and e-mail addresses
Dear Experts:
I got a long document where internet and e-mail adresses such as ...
www.google.de or
info@factory.de
.... have lost their character style "Hyperlink".
How can I get Word via VBA to re-apply this character style to all
occurrences of URL's and e-mail addresses.
Help is much appreciated.
Thank you very much in advance.
Regards, Andreas
|
6/6/2010 3:23:17 PM
|
1
|
andreas <andreas.her...@gmx.de>
|
Need instructions for coping existing macro vba and creating a new macro on a different machine
I have a macro that I want to e-mail someone.
I copied it and pasted it into a .txt file.
I also want to send instructions for inserting the macro to be used with all
documents.
Not sure if they have 2003 or 2007!
I've been looking on the Internet for some simple instructions for adding a
macro when you already have the vba but can't find anything that really
fits.
Can you help me get such instructions?
Thanks
|
6/5/2010 2:08:53 PM
|
2
|
" Cal Who" <Cal...@roadrunner.com>
|
How to make scanned document readable when opened in word?
When this document is opened in Word, the characters are garbled. What can
I do?
|
6/5/2010 2:34:32 AM
|
1
|
=?Utf-8?B?Q2x1ZWxlc3M=?= <Cluel...@discussions.microsoft.com>
|
Selection/Range different in Word 2010 ???
I'm testing my code on Office 2010 (latest Beta). Most everything
works, except i'm hitting a strange problem in one of my functions
that inserts text (piece by piece) into a doc.
I'm calling this function from another function that takes a string
with markup in it, e.g.
"Name, G. (2002). <i>Title of paper</i>. Santa Cruz, CA."
and turning it into a paragraph. I "walk" through the string, breaking
it into pieces that have or don't have markup. And then I insert each
piece at the end of a paragraph; if the piece has markup, then the
function tells Word to apply its font formatt
|
6/4/2010 7:57:30 PM
|
5
|
Gary Hillerson <ga...@hillysun.net>
|
Missing red squigglies when automating WORD.
Hi,
I am using Word Automation with MFC. Things are going well, except that I
noticed that when I open up a document or create a new document, misspelled
words are not being underlined with the red squigglies (technical term). I
have looked at all of the options and they seem to be correct. If I open
WORD up directly, the red squigglies show with misspelled words, but not in
the instance of WORD that I open. IF I type a new word I know is misspelled,
like "asdfsadf ", I still do not see the red squiggly.
I noticed that I could hit F7 and the Spelling and Grammar dialog wo
|
6/4/2010 7:19:50 PM
|
1
|
=?Utf-8?B?UmljayBQaW5ncnk=?= <RickPin...@discussions.microsoft.com>
|
Ribbon - Togglebutton for custom style
Hi,
I have developed a Word PhD template for our faculty which adds a new
tab in the Ribbon. That tab has, among others, a set of buttons that
apply custom styles to the active selection. Until now I have used
simple buttons that fire a macro which in its turn applies the style.
Now, however, I am tweaking the details and would rather replace these
buttons by togglebuttons -problem is: I cannot get it to work and find
myself struggling with the callbacks. In my ribbon xml I have for
instance the following togglebutton: <togglebutton id="tbExample"
image="Example" onAction="Example_C
|
6/4/2010 3:50:43 PM
|
3
|
gbonamie <gbona...@gmail.com>
|
|
|
Print First Two pages in First Page Tray & remang. in other pages
I use one tray for Headed Paper and another for plain paper.
Using macro i print first page of the document to the headed paper and
remaining pages in plain paper tray correctly.
Now to be more eco-friendly, to avoid wastage of papers, i need to print the
second page of the document to the headed paper back side.
So ideally i need to Print First Two pages in First Page Tray & remaining
pages in other pages tray (which is already duplexed).
Need to if this is possible.
Code
--declare
Dim sPrinterName$
Dim sPortName$
Dim nFirstPageTray
Dim nOtherPagesTray
-- assignmen
|
6/4/2010 9:36:40 AM
|
1
|
=?Utf-8?B?U2l2YWt1bWFy?= <Sivaku...@discussions.microsoft.com>
|
managing instances of Word
is there such a thing?
i'm running vba to open a new word doc from a template, do some stuff, save
as pdf then close the doc
if i quit the app via vba and other instances are running I get a this file
is in use by another user, normal.dotm
if i quite the app via vba and no other instances are running I get not
error and word quits fine.
this seems like an instance management issue?
also if there are other instances are running, and i just close the doc and
not quit the app in vba, everything is fine. when i go to close the app
manually, i get the same normal.dotm error
|
6/3/2010 11:40:17 PM
|
2
|
"JR" <ilove...@gmail.com>
|
Sub or Function not defined (Why ??)
I have a template that contains a userform module named "MACROS" and a =
=3D
standard code module named "Code." I have exported both of these =3D
modules to my C:\ directory.
I have another large collection of tempaltes that each contain code in =
=3D
the "ThisDocument" clase module and a standard code module named =3D
"NewMacros"
I have written a procedure to process some changes to each of these =3D
templates. The procedure opens each document and passes the document =3D
object to the procedure shown below which peforms the following =3D
functions:
1. Removes all code lines
|
6/3/2010 11:01:09 PM
|
0
|
"Greg Maxey" <gma...@mIKEvICTORpAPAsIERRA.oSCARrOMEOgOLF>
|
Word 2007 Macros not working
Some of my Office 2007 files got corrupted. I uninstalled all the
Office 2007 programs and then reinstalled them.
I put my VBA macros back in Word. Whenever I try to run the macros, I
get this error message:
"The macro cannot be found or has been disabled because of your macro
security settings."
Under Macro Settings, I clicked Enable all macros.
I also checked "Trusted access to the VBA project object model."
At this time, I cannot run the macros. Please advise.
|
6/3/2010 3:25:24 PM
|
0
|
Tony No Baloney <tonyrulesy...@yahoo.com>
|
textbox
Hello
I have 3 textbox and i would like to calculate the value of the textbox 1 +
textbox 2 into the text box 3 and it should update as soon w new value is set
in one of the two textbox 1 or 2.
thanks a lot for your help
|
6/3/2010 1:52:05 PM
|
2
|
=?Utf-8?B?TG91aXM=?= <Lo...@discussions.microsoft.com>
|
CROSS REFERENCE
Forgive me for posting this again but I still haven't found a
satisfactory solution. Please see if anyone can assist me. I know that
you can use word to insert reference, cross reference but that is not
exactly what I want. What I need is something that will refer to the
sub clause number where the reference is but include the main clause
text
e.g.
Word 2003. I have a document which points to various paragraphs and I
would like to usecrossreferencing as well as the name of the main
paragraph when I refer to it e.g.
SALE OF SHARES AGREEMENT
1 INTERPRETATION
1.1 xxxxxxx
1.2 xxxx
|
6/3/2010 10:08:55 AM
|
5
|
JJ <j...@ultimatefunctions.co.za>
|
Macro needed to insert a file chosen from a directory
Can anyone help me please? I need a macro which allows me to insert text from
whichever file I choose from a directory.
The idea is to click on a toolbar icon > display the folder containing the
text files > select the text file > Click to insert file. The trouble is I
could do it on my home PC but could not do it on my work network.
I used the macro from a previous post and it was great but I seem to have
trouble with the insert part of the macro and it includes both the S: path
and the C: temp path when asking me if I'm sure this is the file I want.
Macro used:
Sub MySpec
|
6/3/2010 3:13:01 AM
|
1
|
=?Utf-8?B?TWFybGV5?= <Mar...@discussions.microsoft.com>
|
Macro for inserting a files selected from a directory (on a networ
I'm looking for a macro that I could add to .dotm so that I can insert
selected files into my main document:
From the document > click on a toolbar icon > open the correct specific
folder to display the list of files in that folder > Select a file to insert
it into my main document.
The reason for going this way is to let people change the word files but
keep them out of playing with Quick Parts/Autoext in the template itself as
files might change and the list of files int eh folder might be added to.
I had one I found on this community which worked on my home PC but I seem
|
6/3/2010 12:17:33 AM
|
2
|
=?Utf-8?B?TWFybGV5?= <Mar...@discussions.microsoft.com>
|
Can't link a table to excel within a Filling in Form protected doc
Got a document form that has a table that is a link to a Excel spreadsheet so
that users can have the luxury of Excel's summing,
I need to make the document protected with the Filling in Forms option, but
that means the Excel link is not going to work, as it becomes a protected
field.
Is there a workaround for this, please.
|
6/2/2010 11:12:08 PM
|
0
|
=?Utf-8?B?dGlrb3VrYQ==?= <tiko...@discussions.microsoft.com>
|
This has to be a WORD bug with TextBox VBA and protection
Try this please:
1. Create new doc as a dotm (macro enabled template)
2. From the Developer tab, Insert a ActiveX textbox control
3. Create a TextBox1.change routine, and apply some simple code – just
MsgBox TextBox1 will suffice
4. Turn on Protect Document with editing restrictions Filling in Forms
5. Switch off Design Mode and test an entry in the text box
Works fine.
6. Now close and save the dotm
7. Double-click the dotm from explorer (opens a document based on the
template)
8. Take the Option (in toolbar) to allow active content
9. Try the textbox entry
Can’t en
|
6/2/2010 11:04:12 PM
|
0
|
=?Utf-8?B?dGlrb3VrYQ==?= <tiko...@discussions.microsoft.com>
|
What does "start PID" and "end PID" mean?
After downloading some word documents from a educational website, some
two-part pink symbols appear on the page. When the cursor hovers over the
left side of the symbol, "start PID" appears; when hovering over the right
side of symbol, "end PID" appears.
|
6/2/2010 10:02:18 PM
|
1
|
=?Utf-8?B?TWF1cmVlbg==?= <Maur...@discussions.microsoft.com>
|
Add a ListBox to the QuickAccessToolBar
I have a macro that created a ListBox. Since I can’t seem to add the ListBox
programmatically to the Quick Access Toolbar, is there a way I could add the
ListBox by hand to the Quick Access Toolbar so it is always there when I open
Word?
|
6/2/2010 4:19:03 PM
|
1
|
=?Utf-8?B?SmVmZkc=?= <Je...@discussions.microsoft.com>
|
Database Query
Hi Community,
I was hoping to seek some guidance or pointers regarding the
extracting/querying of db information into Word Documents.
In a nutshell I create many form templates for our end users (Social
Workers) which they complete on behalf of or regarding our customers. These
customers will most likely have been added in our customer database (an
Oracle db) and I was hoping that I would be able to reduce the amount of
information end users have to enter into a new form by getting the users to
type in the Oracle Customer ID and the document to retrieve what information
it
|
6/2/2010 3:34:01 PM
|
2
|
=?Utf-8?B?c3B1bmt5bXVmZm1vbmtleQ==?= <spunkymuffmon...@discussions.microsoft.com>
|
converting tabular structures in a Word document into an actual table or reading data from the tabular structures using VBA code
I have a macro which can read the last cell/column of all tables in a
Word 2003/2007 document and store the data in an MS-Access table. But,
some Word documents have the data in structures like a table format
but are not actually tables. The structure looks like a table, but the
table borders are actually line connectors. These documents were
created by a software(VeryPDF PDF to Word converter) which converted
the PDF documents(the original format these documents were) into Word
documents.
1. Is there a way I can convert/replace the tabular structures with
actual tables in Word so t
|
6/2/2010 3:33:18 PM
|
9
|
s <...@mailinator.com>
|
VBA to protection different Sections
Hi There,
I have a document, tht I would like to restrict the user from editing
certain area.
I have seen that it is possible to protect different sections (continous) to
different levels, however I cannot work out how it works!
My documnet is made of a series of tables and of the 6 tables in the
document, I want the user to only have editing access to tables 2 and 4. The
information contained within the other tables will be populated via a form,
and thus I need to be able to protect and unprotect via VBA.
Any suggestions?
Regards,
Steve Mulvenna
|
6/2/2010 10:13:01 AM
|
1
|
=?Utf-8?B?U3RldmUgTXVsdmVubmE=?= <Steve Mulve...@discussions.microsoft.com>
|
Keeping a table in a form editable and checking that fields are filled in before allowing a save
Firstly apologies if this is the incorrect forum but I was looking for
a general word forum and could not find one. Please point me to one if
one exists.
I am trying to create a form where I want to specify what items need
to be filled in. (Review minutes from design reviews). I want to make
certain fields mandatory like the date, attendees and check list used
and want to block saving of the document with a warning until they are
filled in. Is there a way of doing this?
Also as a part of the review actions are filled in to a table.
depending on how many actions there are the table
|
6/2/2010 8:19:20 AM
|
2
|
Gazza <gary_wind...@hotmail.com>
|
Content select question?
Dear All,
I wonder if any property or method could to check the current document
content is selected all or not?
Many thanks
David
|
6/2/2010 5:43:01 AM
|
3
|
=?Utf-8?B?T0tMb3Zlcg==?= <OKLo...@discussions.microsoft.com>
|
TextBox control not enabled with protection on
This has weird behavior, so I am sure it is a bug.
I am trying to auto-total table columns in a document template (not a VBA
form). The fields are ActiveX textboxes and in VBA I simply assign them to
integers and total; ie effectively adding the values in TextBox1, Textbox2
etc to total in TextBox9.
Then I assign the "Filling in forms" protection to the document.
It works fine and dandy in the template (dotm) that I am creating, but it
all goes wrong when I create a docm from it (which is of course what I want
the users to do).
When you open up a document from the temp
|
6/2/2010 2:44:01 AM
|
1
|
=?Utf-8?B?dGlrb3VrYQ==?= <tiko...@discussions.microsoft.com>
|
Add a paragraph mark at the end of every line?
Hi, All
How do I add a paragraph mark at the end of every line with VBA ?
Regards
David
|
6/1/2010 4:20:01 PM
|
10
|
=?Utf-8?B?T0tMb3Zlcg==?= <OKLo...@discussions.microsoft.com>
|
Opening a user form
I am using the following code to open a user form when I open a Word 2003
document.
Private Sub Document_New()
UserForm1.Show
End Sub
For some reason I can't get the user form to show.
I have this code in a template and I am opening the document from it. I also
have it in a private directory (not the template directory).
Thanks,
Stanley
|
6/1/2010 3:53:01 PM
|
1
|
=?Utf-8?B?U3RhbmxleQ==?= <Stan...@discussions.microsoft.com>
|
freeze
I would like to provide a Microsoft Word template for others in my office to
use but it is important that the information in the header and footer are not
modified by other users. Is there any way to "freeze" certain features
within a template (header/footer, text box) so that they cannot be changed or
deleted?
|
6/1/2010 3:50:01 PM
|
1
|
=?Utf-8?B?aHVtcGhyZXk=?= <humph...@discussions.microsoft.com>
|
Encrypt a Word document in VBA
I want to create a macro that in certain situations will encrypt the current
document such that when the document is saved and opened again, Word will ask
for the password (similarly to the user selecting the Office Button ->
Prepare -> Encrypt Document).
Would someone tell me how this can be done? Thanks for any help.
|
6/1/2010 2:19:01 PM
|
3
|
=?Utf-8?B?SmVmZkc=?= <Je...@discussions.microsoft.com>
|
Word does not update links automatically
Hello,
I have a word document which has many links to excel documents. When I
change something in excel document and open word document, word asks me
whether to update the document or not. But, it does not update links now. I
have to update links one by one manually.
I do not know why it does so. How can I solve this problem?
Thank you...
|
6/1/2010 1:44:01 PM
|
0
|
=?Utf-8?B?cmVzb25hbmNl?= <resona...@discussions.microsoft.com>
|
How to Disable Restore Button in Word 2007/2010?
Hi,
Can anyone tell me how to disable close, minimize,maximize buttons on a
Microsoft Word 2007/2010 application from .NET, using c#?
Thanks,
Srinivas
|
6/1/2010 9:18:01 AM
|
1
|
=?Utf-8?B?U3Jpbml2YXMgQWtlbGxh?= <Srinivas Ake...@discussions.microsoft.com>
|
Word 2K3 Form & PDFs
I created an electronic form using VBA for our purchasing department. As the
form goes through the routing process, supporting PDF documents are added to
the form.
Inserting the PDF as an object worked, but the image was illegible.
We inserted the PDF so that only an icon shows. Clicking the icon produces a
legible image.
At the end of the routing process, the MS Word file is converted to a PDF
file.
As a PDF file, the 'icon' images no longer open.
I need to find a solution that produced a PDF with all supporting documents
included.
Is there a reason why the insert objec
|
6/1/2010 2:35:01 AM
|
0
|
=?Utf-8?B?REpFbGxpb3R0?= <DJElli...@discussions.microsoft.com>
|
Splitting a file
I have a large file I need to split into multiple documents. After searching
online I found some code which will split a document into single pages.
However I need to ONLY split where there is a manual page break (creating
variable length documents), not at every page. If anyone can help this
absolute beginner by pointing me to directions for splitting at page breaks
I would greatly appreciate it.
Ideally I would also like to create the new file names based on the first
line of each new document. After splitting there will be about 200 documents
that I can rename manually if
|
6/1/2010 12:02:08 AM
|
8
|
"GaryT" <gtemplem...@comcast.net>
|
Word 2007 - Picture Visual Basic Code
In Word 2007, I adjust the text wrapping around a picture by right-clicking
on the picture and then choosing Format Picture, Layout, Advanced, Through.
I'll be very grateful to anyone who can tell me the Visual Basic code for
this.
Mary Fetsch
|
5/31/2010 10:27:01 PM
|
2
|
=?Utf-8?B?TWFyeSBGZXRzY2g=?= <MaryFet...@discussions.microsoft.com>
|
Altchunk replace with HTM content not working on Office 2003
When we replace Altchunk with content from an HTM file the same works fine on
office 2007 but fails to open with the office 2003 compatibility pack. Is
there any work around for the same ?
|
5/31/2010 8:00:01 AM
|
0
|
=?Utf-8?B?U2FmYWw=?= <Sa...@discussions.microsoft.com>
|
Fillin fields in template behave differently on different workstat
Simple fillin fields for a fax saved and stored as a template do not update
when accessed e.g. file, new, "fax.dot" on one PC will automatically bring up
field but same template on another PC will create a new document but not run
the fields. I know I can write VB code to update fields but this then runs
fillin fields twice on some PCs. Also when fillin fields run cannot see
document behind the input boxes (some PCs only). Thanks in advance
Lulu
|
5/30/2010 11:12:02 PM
|
1
|
=?Utf-8?B?THVMdQ==?= <L...@discussions.microsoft.com>
|
word 2003 vba - get current heading id
Hi,
I need your help. I spent many hours and have not found a solution for
my problem.
I have a big word 2003 document. It has many headings (up to 5+ levels
deep). It also has bullets (lists).
I found a piece of code, that lets me place all the headings in a
listbox, but I don't know how to select the current (cursor) heading
in the listbox.
I tried to get the current heading text, but some heading titles
contain the same text.
Is it possible to get the heading ID? So that I can use
listbox1.listindex=HeadingID? Can you help?
Thank you
POPULATING THE LISTBOX:
varR
|
5/29/2010 1:36:08 PM
|
3
|
nerfemail <nerfem...@gmail.com>
|
if a paragraph has a particular style
I'm working on a sub to (1) search for a particular style, (2) move to the
preceding paragraph, (3) check what style it is, and (4) if it's the style
"Heading 2", move back to the following paragraph and do something. It's step
3 that's giving me trouble. How do I say: if the paragraph has a particular
style...
This is what I've got, but it doesn't work.
If .Style = wdStyleHeading2 Then
Thank you in advance,
~ Janet
|
5/28/2010 9:11:01 PM
|
1
|
=?Utf-8?B?SmFuZXQgUw==?= <Jan...@discussions.microsoft.com>
|
Automatically create bookmarks between the occurrence of user-defined style.
Dear Experts:
I got a document where the user-defined Paragraph Style
(Style_User_Defined) occurs between 2 and n-times.
I now would like to be able to automatically create bookmarks (naming
convention: bookmark_1 till bookmark_n) between these occurrences of
this user-defined style.
To be more precise:
Bookmark_1: Spans from FIRST occurrence of 'Style_User_Defined' till
the paragraph immediately preceding the SECOND occurrence of
'Style_User_Defined'.
Bookmark_2: Spans from SECOND occurrence of 'Style_User_Defined' till
the paragraph immediately preceding the THIRD occurr
|
5/28/2010 12:48:14 PM
|
4
|
andreas <andreas.her...@gmx.de>
|
Forms and AutoText Problem
I have a form and I am using the following code to test if a check box is
checked and if so, to insert Autotext. Everything works fine, however, right
after the autotext is inserted I would like the cursor to return to the first
fill in formfield of the autotext just inserted. Right now, it is going to
the next fillin formfield after the checkbox. I've tried various code after
the line ".AttachedTemplate.AutoTextEntries(ATEntryName).Insert myRange,
True" and after the line InsertATEntry "Check1", "MoreClientInfo", True, but
have had no luck. I'm right now scouring the interne
|
5/27/2010 11:44:02 PM
|
4
|
=?Utf-8?B?amVyZW0=?= <je...@discussions.microsoft.com>
|
How do you link VB code to a table field?
Using Word 2093. I have code, now I need it to place it into the table cell
so that it'll perform the code. Familiar w/ Access VBA, but discovered that
word is different. When the form opens the date of the ending Sunday will
populate into a cell (for time card form). Thanks, MC
|
5/27/2010 11:41:01 PM
|
2
|
=?Utf-8?B?TWljaGFlbGNpcA==?= <Michael...@discussions.microsoft.com>
|
Forms and AutoText
I have a form and I am using the following code to test if a check box is
checked and if so, to insert Autotext. Everything works fine, however, after
the autotext is inserted I would like the cursor to return to the first fill
in formfield of the autotext just inserted. Right now, it is going to the
next fillin formfield after the checkbox. I've tried various code after the
line ".AttachedTemplate.AutoTextEntries(ATEntryName).Insert myRange, True",
but have had no luck. I'm right now scouring the internet for solutions, but
if anybody can answer this I would greatly apprecia
|
5/27/2010 11:33:01 PM
|
0
|
=?Utf-8?B?amVyZW0=?= <je...@discussions.microsoft.com>
|
Anyone else?
Does anyone else have any suggestions for this dillema that I find myself in?
Thanks in advance, MC
|
5/27/2010 11:19:01 PM
|
5
|
=?Utf-8?B?TWljaGFlbGNpcA==?= <Michael...@discussions.microsoft.com>
|
change font size of first character
I have a template that allows users to print business cards. It displays a
form where they enter their name and three other lines of text. I would like
to increase the font size of the first character in each word if the user
enters the text in upper case.
The code I'm using to capture the text from the form is:
With ActiveDocument
For intLoop1 = 1 To 10
.Bookmarks("Name" & Right("0" & intLoop1, 2)).Range.InsertBefore txtName
.Bookmarks("Title" & Right("0" & intLoop1, 2) & "a").Range.InsertBefore
xtTitleA
.Bookmarks("Title" & Right("0" & intLoop1, 2) & "b").
|
5/27/2010 10:01:37 PM
|
3
|
=?Utf-8?B?bGFsbGVu?= <lal...@discussions.microsoft.com>
|
Toggle button code to insert user response into template
Hello,
I've created a User Form to create content for a letter. This is the first
time I've ever used VB - I'm a complete Newbie - and I've had a lot of help
using an article I found online.
I have included toggle buttons in the form and what I would like them to do
is insert text into the letter when they're selected, but if they're not
selected, then the space where the bookmark is in the letter remains blank.
This is the segment of code that concerned the toggle button and what the
bookmark was supposed to fill in with:
If togPartAwardsText.Value = True Then
.Bookma
|
5/27/2010 9:51:34 PM
|
1
|
=?Utf-8?B?TGlzYU0=?= <Li...@discussions.microsoft.com>
|
Populating the last Sun. date of that week in a cell
Thanks in advance.
I'm using Word 2003 & I'd like to populate a cell of a table to fill in the
last Sunday-DATE of that week. This is for a timesheet.doc where that date
needs to be filled in for our Payroll Dept. Currently folks are having to go
to a calendar & look up in order to manually populate this field. Many
thanks, MC
|
5/27/2010 9:45:49 PM
|
4
|
=?Utf-8?B?TWljaGFlbGNpcA==?= <Michael...@discussions.microsoft.com>
|
how to i create a dialog box using xml schema
i want to able to display login dialog box when the user opening my word
document. The dialog box will be created by using Xml schemas or wordML.
|
5/27/2010 9:26:03 PM
|
0
|
=?Utf-8?B?U2FyYXZhbmFuJ3MgUXVlcmllcy4uLiE=?= <Saravanan's Queries...!@discussions.microsoft.com>
|
Using function IF in WORD 2003
Why the following example does not work?
Example:
Bookmark "town" has value "Pasco"
{IF town = Prague "Not true" "{IF town = Pasco "True" " "} "}
The outcome of this function is "{IF town = Pasco " but I am expecting
outcome "True". That means the word does not take into account another nested
function IF.
I am trying to use nested function "If" because I saw this example in Word
2003 help where nested If is used (I thought that it will work):
{IF {MERGEFIELD Město} = "Brno" "Obyvatelům Brna náleží speciální sleva."
"{IF {MERGEFIELD Město} = "Hořovice" "Obyvatelům Hořov
|
5/27/2010 9:16:05 PM
|
1
|
=?Utf-8?B?ZG9sZXplbHQ=?= <dolez...@discussions.microsoft.com>
|
Cannot Change Protection With VBA In Word 2007
With Word 2007, I cannot use VBA to permanently change the type of
protection applied to a document. VBA changes the protection while
the document is opened but once the document is closed the changes are
not written to the OOXML on disk.
Steps to reproduce:
Step 1
Create a new document in Word 2007.
Step 2
From the VBA Immediate Window, execute the following statement.
ActiveDocument.Protect Password:="MyPassword", NoReset:=True,
Type:=wdAllowOnlyComments, UseIRM:=False, EnforceStyleLock:=False
Step 3
Verify that the specified protection has been added to the new
docum
|
5/27/2010 8:41:01 PM
|
0
|
Trevor <trevor.la...@gmail.com>
|
Visualbasic userform to appear automatically
I have managed to create a word document and the user form behind it to ask
and populate questions.
What i am having trouble with is when i send the document to someone else
the userform does not appear for them to input the answers to the prompts.
Any ideas.
|
5/27/2010 8:11:36 PM
|
3
|
=?Utf-8?B?ZG9ubmE=?= <do...@discussions.microsoft.com>
|
CROSS REFERENCE QUESTION
Word 2003. I have a document which points to various paragraphs and I
would like to use cross referencing as well as the name of the main
paragraph when I refer to it e.g.
SALE OF SHARES AGREEMENT
1 INTERPRETATION
1.1 xxxxxxx
1.2 xxxxxxx
2 PARTIES
2.1 The parties to this agreement are:
2.1.1 xxxx
2.1.2 xxxx
3 BACKGROUND
3.1 xxx
3.2 The second party to this agreement as referred to in clause 1.1
[INTERPRETATION] of this agreement.
Meaning when I insert a cross reference and I refer to clause 1.1 it
should insert the number of clause 1.1 but it should insert the mai
|
5/26/2010 12:47:45 PM
|
4
|
JJ <jjac...@bclr.com>
|