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

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
177 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  >>  
SaveAs dialog
Below is a tiny snippet of my code. I'm needing to display the save as dialog and populate the "suggested name" with the text from a txtbox on my userform. This code almost works but I don't know how to tell the dialog what to put on the Save line. Plz advise. Dialogs(wdDialogFileSaveAs).Show ActiveDocument.SaveAs (UserForm1.TxtClientNmbr) Thanks !! -- RMC,CPA ...
3 01.10.2006 01:37:32
Table not inserting correctly
I am running the following code to insert a table into a document. My problem is that every so often the table inserts strangely and runs off the page. I have chalked it up to a word bug, but it is getting annoying. Has anyone else had this problem when inserting tables using code. Is there anything I can change below that might eliminate this seemly random problem. Is there a line o...
3 01.10.2006 01:26:14
Word and VB Help
I have a piece of code in my vb app that opens up a Word document and then fills in bookmarks with fields from a vb form. The problem that I am having is that the fields that I am filling in have underlines and as I fill in text it is in insert mode and pushes the lines over and messes up the page formating. How do I turn off insert mode form VB. Here is a sample of my code. Dim MyWord ...
1 01.10.2006 00:55:27
Macro used to print...?
Howdy, I had a macro (Word 2000 SP3) that worked properly under Win 2000 Pro. Now, under Win XP, it behaves differently. Formerly, it did a merge, and printed the result. Now, instead, it does the merge, and opens the Print Dialog. There it stays until I click "OK" to print. I had tried SendKeys "~" but with no luck. Originally, I had created the macro by recording, and then twe...
2 01.10.2006 00:11:02
Creating a Large Document using Insert File Link
I am creating a 2000 page book from several smaller files. I have a directory where there is a file named for each date the file was created. For example, 20060102, 20060105, etc.... Where the filenames are YYYYMMDD. There may not be a file for every date, but all files are named by date. I would like to avoid master documents because of corruption issues. My thought was to create a...
20 30.09.2006 23:15:21
order of paragraphs
hi! With a text document, i have to give format to the paragraphs depending on the first character of every one. (if first character of the paragraph is a 'p' then-->paragraph bold,.... if first character of the paragraph is a 'd' then --> paragraph italic,... ) I'm programming a macro that uses the mail merge to filter an specific letter. To know the correct order of the paragraph...
7 30.09.2006 19:20:12
Navigate to a specific numbered paragraph
Hi Gurus. I'm trying to automate word to perform the following tasks: 1. Open a given document (no problem) 2. Navigate to paragraph numbered 4.1 3. Get its content I have no idea how to perform steps 2 & 3. Can you help me with that? Thanks! ...
2 30.09.2006 19:15:47
go to & highlight today's date on open
I have a word document with a lengthy list of dates in a table. Upon opening, I'd like to see today's date highlighted and have it go to that date. Help??!! Thanks! -- Alan...
5 30.09.2006 19:07:01
How to check if text wraps in a table cell
Hi All: I need to know if existing text in a table's cell is wrapping (i.e., too long to fit in a cell, this wrapping and doubling the height of the cell - and entire row of the table). I could not find a Cell property that tells if a cell wrapped or not - is this possible? TYA, JS ...
9 30.09.2006 18:46:51
converting toolbar question
i have a custom toolbar for Word 2002-2003. how do i get that toolbar to show up on the ribbon in MS Word 2007? is there a change i can make to my template that will do this automatically? I have tried to add the buttons thru the QAT, but, my commands do not show up? ACK!! any suggestions?...
1 30.09.2006 18:12:01
Error trapping an Input Box
I have to error trap the following line of code: ActiveDocument.Variables("varmeetingnumber").Value = InputBox("Meeting Number") If the user doesn't enter any number, I want to display a Message Box and prompt the user again for a number. Being new to VBA, I don't know the code to do this. Your help is appreciated. TIA, David ...
2 30.09.2006 07:56:29
converting pictures to right size
any way I can have all pictures in a document (will be pasted charts from another app) converted to a particular height/width? Thx. -- Boris...
4 30.09.2006 03:02:31
Any other dictionary programs to import into Word?
Hi all, does anyone know if I can download or buy another dictionary program to import into my Word (Office 2004 student/teacher) program? I wonder also if there is another thesaurus program available that would work seamlessly. Thanks! Fenton ...
2 30.09.2006 01:04:11
"compare documents" opens a new document? Why?
I am new to Office 2004 and I find it disappointing that the TOOLS command "compare documents" opens a new document. I liked what I recall in former Word versions- selecting one document to compare with another highlights the changes in the existing document. I like saving original files with "created on" and "last modified" dates. Does anyone know if I can disable this or control it? ...
2 30.09.2006 01:04:00
Link between Excel and Word...
Hello all, How can I transfer strings from excel to defined location on word document? Thanks, Mário Santos....
2 30.09.2006 01:01:12
Run Macro on form after exiting text box
I am new to word and Macros so this more than likely easy I have a form with some check and text boxes on it if a user checks a check box and then later on enters a value in a text field I want it to check the check boxs and see if it is true, if so I want a value from another text box entered into other text boxes. i tried this but no luck If check4 = True Then text15 = text11 te...
2 30.09.2006 00:59:48
active network printer
Hello, I use this code to set the active printer. objDoc.Application.ActivePrinter It works if the printer is local, but not if it's a network printer. Is the code different for network printer? Thanks for your help, Joel ...
2 30.09.2006 00:56:50
How to setup button that will insert a Word file into a Word file
I have a Word 2002 document and at the bottom of page 1 I want to have a couple buttons where the users can either "Insert a file" or "Insert a different file". I have tried a hyperlink, but that opens the file in another document and I need to combine the 2 pages into 1 file. This form I have could be 3 pages or 20 pages depending on how many pages the user needs. HELP --- Can an...
2 30.09.2006 00:55:53
mergeformat
please, anybody knows how to put one field in a mail merge combination, with number format? (ActiveDocument.Fields.Add Range:=Selection.Range, Type:=wdFieldMergeField _ , Text:="""Numero""") thanks...
2 30.09.2006 00:47:20
Replace exisiting image programatically.
Our current letter template has our logo defined in a specific position in the document header. The logo is an image file (let's say .gif) that has been placed on the template. My PR department has requested that we allow users to choose the colour of the logo that will appear on their documents. I can easily give the users a dialog to pick the correct colour .gif of the logo, what ...
2 30.09.2006 00:36:26
Form Fields populated from VBA
I have a form in Word with Form Fields which I populate from an Excel VBA. Not every Form Field is populated depending if there is data for it in my Excel Worksheet. But I need to allow for the possibility that there might be data which is why I keep the Form Field in the Word Form letter. My question is if there is not data to populate the field in Word, how do I delete that whole line...
2 30.09.2006 00:18:51
How to add multiple pages to a locked document?
I have a 3 page word locked form. It's locked so that people can only enter data where I want them to enter it. Now they want to have multiple pages of the 3rd page of the document. How can I have them ask for only page 3 at the bottom of their initial document?...
2 30.09.2006 00:16:15
Referencing an Access record from WOrd
Problem: A Word doc contains words (usually in a footnote, but doesn't have to be), which are keys to records in an Access database. How can these Access records be displayed when the Word items are clicked, or selected and clicked?...
1 29.09.2006 22:03:02
Languages
Hello Windows XP Office 2002/3 I'm looking for some VBA code which will loop through the active document returning the number of different languages used within it. Any suggestions will be appreciated. Regards Mike...
4 29.09.2006 20:36:59
DEADLINE! Importing table into Word Form using a Command Button
I'M ON A DEADLINE!! I've an Excel sheet that is saved. I want to use a Command Button in my Word form to trigger Word to find the Excel sheet and import it into my Word document. I inserted the file as an object in my word document and looked fine but I don't know how to use a Command Button to do the same. Thank you very much....
2 29.09.2006 20:32:27
177 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  >>  

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