Group:  Microsoft Word » microsoft.public.word.vba.beginners

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Threads Replies Last Post
23 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  
Translation Macro
Hello folks, first of all I would like to thank you for your effort and great help. I wrote a macro that I use to translate short texts into French. I worked on the assumption that the first lines of the macro are executed first, so I used the macro to search for exact phrase match in the first lines of code and replace them with exact phrase match in English. Then I started using find and ...
3 13.01.2006 20:55:24
Default values for Find
With the following code, if I don't set the values for MatchWildcards, Wrap, etc, what are the default values? Are they the values used during the last Find? Do While Selection.Find.Execute(FindText:="Txt", MatchWildcards:=False, Wrap:=wdFindContinue, Forward:=True) 'do something Loop From Help (Word 97 SR2), the parameters are MatchWildcards, MatchCase, MatchWholeWord, MatchWildcard...
3 13.01.2006 15:58:56
hanging indent
I'm using Visual FoxPro to automate Word. I'm inserting text into a Word bookmark. I need to insert a tab and hanging indent into my document. I used CHR(9) to insert the tab. Is there a code to add the hanging indent?...
2 13.01.2006 05:05:28
How to create a macro saving document with current date
Hi, How can I create a Macro which will save my test.doc document in a given directory "C:\briefing " like this: 20060109test.doc Thanks for your help Erick ...
5 11.01.2006 19:40:04
Macros Lost Between Logons
Hello: I have a user who has defined some macros in Word 2002. The keyboard assignments that she made for them are lost after she logs off. The macros appear to persist, but the keys are lost. Any thoughts on how to correct this? Thanks. Nordic ...
2 11.01.2006 10:32:14
How to access document summary?
Hi, When I click File | Properties I can fill the document's summary. How can I do this in code? Thanks in advance £ukasz...
3 10.01.2006 19:31:23
path to remote server in VBA
The folder where I'd like to save a document is located on a remote server that is accessed via Windows terminal services. When working with a server on my local network, I can access the folder I want with the following code: Dim FSO As FileSystemObject Dim NewDir As String Set FSO = CreateObject("Scripting.FileSystemObject") NewDir = "\\lvco-dc\prosecutor\CaseDocs\" & CaseNu...
2 10.01.2006 17:38:56
Working with two or more Word docs.
I've written a sub which copies text from one enclosing bookmark to another. (Code at end of this question). While I haven't run it yet, it was based quite closely on some code snippets I found at various VBA sites so I think it should work (but if anyone sees problems with it, do tell!). That's not my question though. My question is about how to refer to bookmarks in two different do...
6 10.01.2006 12:39:33
Checking if enclosing Bookmark contains text
I'd like to check a bookmark to see if it contains text ("a--z"). If it does, then at a different bookmark I want to insert text, if the bookmark does not contain the matching text, then I want to insert different text at a third bookmark. I've tried the following code, which doesn't produce any result. Dim AttorneyWaiver As String Dim AttorneyAppointed As String Dim vAttorney As Strin...
8 10.01.2006 01:03:14
View text on CRT monitor
Windows XP SP2 Word 2000 I can move the text to the right on the monitor by holding down the shift key and clicking the triangle-shaped arrow in the bottom lower left corner (next to the "print layout view" and "outline view" buttons. I recorded a macro to do this and the code is: ActiveWindow.ActivePane.SmallScroll ToRight:=-1 But the macro won't do an...
7 09.01.2006 13:10:28
Working with two or more Word docs.
I've written a sub which copies text from one enclosing bookmark to another. (Code at end of this question). While I haven't run it yet, it was based quite closely on some code snippets I found at various VBA sites so I think it should work (but if anyone sees problems with it, do tell!). That's not my question though. My question is about how to refer to bookmarks in two different do...
2 09.01.2006 10:30:43
Working with two or more Word docs.
I've written a sub which copies text from one enclosing bookmark to another. (Code at end of this question). While I haven't run it yet, it was based quite closely on some code snippets I found at various VBA sites so I think it should work (but if anyone sees problems with it, do tell!). That's not my question though. My question is about how to refer to bookmarks in two different do...
1 08.01.2006 16:16:33
Working with two or more Word docs.
I've written a sub which copies text from one enclosing bookmark to another. (Code at end of this question). While I haven't run it yet, it was based quite closely on some code snippets I found at various VBA sites so I think it should work (but if anyone sees problems with it, do tell!). That's not my question though. My question is about how to refer to bookmarks in two different do...
1 08.01.2006 16:13:46
Working with two or more Word docs.
I've written a sub which copies text from one enclosing bookmark to another. (Code at end of this question). While I haven't run it yet, it was based quite closely on some code snippets I found at various VBA sites so I think it should work (but if anyone sees problems with it, do tell!). That's not my question though. My question is about how to refer to bookmarks in two different do...
1 08.01.2006 15:59:20
Test Message
Recovering from a failed hard drive. Trying to see if I can post message after setting up OE. ...
2 08.01.2006 00:36:58
Bring up another Document if answer to a dropdown is "Yes"..
I have a document that if user chooses "yes" from a drop down menu, another whole document will open up and needs to be filled out...If "No" nothing happens...If you could lend a hand in necessary code needed..Thanks.."Bill Im using Word ...
3 07.01.2006 14:32:02
Checking a checkbox formfield with a click on a document
I was wondering if through VBA a user could click or doublclick on a checkbox formfield and and it would switch between checked and unchecked. I have created a userform where for the doc where the user can click on a check box or option box and it fills in the corresponding formfield on the document. However the users would like it if they could just doubleclick on the checkbox on the documen...
2 07.01.2006 10:28:30
Using Office tools in web application
Till now I've been using COM for serving my purpose but as there are some security issues with COM I want to try doing the same using Office Tools Pls help me out Here is a brief discription of the present scenario: 1. Client navigates through the web application to view the word templete on the server. 2. Selects one templet. 3. Then the Client's info is merged with the temple...
1 06.01.2006 12:50:04
explicitly naming shapes, groups, etc, in macros for Word drawings?
see the macros below - paste these into a Word document and run macro testDraw1 - it should work a green blob dances around the screen But try running the macro testDraw2 and you will see problems with lines like ActiveDocument.Shapes("Line 5").Select it seems when the line shape was created, Word auto-enumerated some internal counter of that particular shape, and auto-named ...
9 05.01.2006 22:49:36
Delete leading spaces
Hello, I have a 3 column table that is produced for me (I have no control over this part). THe problem is that it produces leading blanks (1 or 2) in column 1. I can select various cells within the table, but I can't figure out how to ensure that I'm always starting on the left, and that I'm eliminating leading spaces. Many Thanks. -- Programmer on Budget...
5 05.01.2006 20:54:27
How to tell if Image control has an image
How can I use the If statement to check whether an Image control contains an image? I keep getting 438 error (object doesnt support proprty or method) or Invalid Use of Object error. I basically want to say If Image1.Picture <> Nothing then A=1 i realise that this is basic stuff but it has me stumped Thanks in advance Gem_man...
6 05.01.2006 18:21:03
find and replace... but only certain ones
Have a question... Am new to vba in word. Am trying to create a template for writing meeting minutes. All issues in the minutes have a unique number, where the first number indicates whether its the first, second, third meeting. Reading backwards, 1.1.2 is the indicates the second point of discussion under the first header, at the first meeting. Would like a userform to appear each time the d...
8 05.01.2006 12:55:15
selection.find.font.color NOT equal to red not working
Why doesn't the <> or the =not(wdColorRed) work 'find and replace the the hidden text with double lined text Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "" .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = True .Font.Color <> wdColorR...
6 04.01.2006 19:14:35
Inserting at a bookmark if text found
I'm trying to search for various strings of text in a document and if a string is found, then inserting a block of text that's triggered by that string into a different place in the document. I understand how to code for the searches, and how to set up the default text that will be added using Dim as String variables. What I'm having trouble understanding is how to write the code that says...
3 04.01.2006 17:50:58
Automating PDF printing during mail merge
I am using Word 2003 and Acrobat 6. I want to automate a procedure that runs a mail merge and prints each record to a PDF file using VB. My problem is that I want to supply the file name to the Acrobat printer so that it soes not prompt me for it. Is there a way to do this in VB? ...
3 04.01.2006 14:38:57
23 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net