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

Threads Replies Last Post
275 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  >>  
Pre-populating the filename box when the user goes to save
Hi All I know you can do a SaveAs command to save your generated doc, but I need the user to perform the save bit because the location can vary greatly from user to user. However, I would like to pre-populate what the filename is when they go to select File/Save As to save them from changing this all the time. They often don't follow a set format and as there might be 12 users savin...
5 12/1/2008 5:43:56 PM
Movement Trail on Dialog Box
I'm using Word 2002. I've created a macro to run from my toolbar. It's working perfectly, but when the macro dialog box is open on my screen and I move it around, it leaves a movement trail. I don't know what the trail is called so I can't find help to turn it off. How can I make it so that when I move my dialog box I can actually see the document underneath? Thanks. Kim....
3 12/1/2008 12:07:01 PM
Still getting "Enable Macros" prompt
I have a word document that I have removed all the vba code and controls from yet word still prompts me if I want to enable macros when I open it.. How can I get rid of this prompt? How can I tell word that the document no longer contains macros? TIA Tony ...
3 12/1/2008 3:54:38 AM
Drop[ Down List
(I was wondering if there is a way to use a drop down from Excel in ms word? Thanks...
2 11/30/2008 7:34:48 PM
create a Field and assing a new value
Is there a way to create a new word Field and then SET a new value to it? And how? Thanks...
4 11/30/2008 4:48:21 PM
UserForm & Bookmark Updates not Working
I have created a Template based on a report document. In the template I have added bookmarks to the various information the report needs to populate correctly, i.e Document Title, Document Refence, Date, Status, Date of Issue etc. I have REF all the above info throughout the document as the same info appears in the Main text of the Report and in the Header and Footer. I then created...
6 11/30/2008 3:25:18 AM
Keyboard settings
I have a computer from US. How and where can I change the keyboard from English to German setting so that I can use letters like ä, ö, ü, é etc?...
3 11/29/2008 12:17:42 PM
Auto Populate Word Document
I need help! Here is the problem. I have a Word document which I want to fillin patient data. I would like to type in the patient ID number and have the Word document fillin the patient's last name, first name and date of birth. The data for the patient information is stored in an excel spreadsheet with the columns Patient ID, Last Name, First Name, DOB. Can someone please direct me to ...
2 11/29/2008 5:37:22 AM
EnforceStyle property
I need to determine in VBA whether a document has "formatting restrictions" enabled. I would think that the value of ActiveDocument.EnforceStyle would tell me, but its value is always True, regardless of whether I've restricted formatting or not. How do I check for this status? I know that some of the MS documentation is wrong, ascribing the ability to SET the value to EnforceStyle. But th...
9 11/29/2008 2:03:03 AM
Use Find and Replace to change style
Can I use find/replace to change any text following a return character that is italic. For example I have the following: [return character] Italic text 1. Other text which is not italic Some other text [return character] Italic text 2. Some other text i want to find the Italic text that starts a new paragraph. I want to change the text from italic to bold formatting. The text on...
4 11/28/2008 9:50:58 PM
Subscript out of Range
I have a Word form with bookmarks. I move the bookmarked data to an Access database using code suggested by Doug Robbins. He suggested using the code found at http://gregmaxey.mvps.org/Extract_Form_Data.htm. The code was working great till a couple of days ago. All at once I get the message "Run-Time error "9", Subscript out of range. The code is hanging on "ReDim Preserve FileArray (1 To i)...
4 11/28/2008 8:56:01 PM
Word 2003 Can't find Proofing tools etc
When checking my document for spelling errors etc. Word gives me a dialogue box beginning with the information 'Can't find proofing tools. If you have the proofing tools try installing them...' I have tried to reinstall, fixed and repaired etc but to no avail. The Proofing Tools are on the Office Disc and are checked as normal to be on the PC hard drive as expected when going though Add/Re...
5 11/28/2008 4:57:01 PM
Can I apply watermarks globally to documents in folders?
I want all documents in a folder to be rpinted with a watermark stating "unofficial copy," without having to add that watermark to each document in the folder. ...
3 11/28/2008 4:37:14 PM
Find a heading and remove the section break following it
I need help with a find macro which searches for all 'Heading 1" in a document and then searches for the first section break following it and deletes the section break. There are other section breaks as well in the document, I want to retain them. Kindly help....
3 11/28/2008 11:48:02 AM
Get a paragraph number/index from any paragraph with a document
I am currently writing a VBA routine to copy various pre-selected paragraphs within document which are marked apart by tables and the start and end of a section ie: TABLE here 1st Para in section 2nd Para in section 3rd Para in section Table here 1 Para in section 2 Para in section - and so on I understand that paragraphs have an "index" number within a document. I would like ...
4 11/27/2008 9:26:53 PM
Sliding Scale
Is there a way to add a sliding scale into a word template? I have a template where I want people to select a 1-5 rating. I need the template to be fully editable so I cannot protect the document/form. Thanks...
5 11/27/2008 9:08:01 PM
Macro runs although "If statement" is not properly closed by "End If".
Dear Experts: Below macro deletes the "DocProperty Author Field" from all footers in my document. It runs FINE although I did NOT finish the If-Statement with "End If", since I am getting an error message when doing so (Error Message:("End If without If Block"). How come? Dim sect As Section Dim HF As HeaderFooter Dim f As Field Dim rng As range For Each sect In ActiveDocument.Sections...
3 11/27/2008 1:29:38 PM
Preview Images - Second Request
I was just given 100 free word templates. Unfortunately none have preview images. Is there a way to write a small VBA profram that wiil resave them with preview images?...
2 11/27/2008 1:19:01 PM
How to find some word and delete 8 lines before it?
Hello. How can I find of some word into text, next counting 8 of lines before it and delete these 8 lines? Thank you....
4 11/27/2008 7:14:06 AM
Macro with find/ replace steps is not behaving consistently
I am working in Word 2007 trying to find / replace outline heading styles with a specified indentation FIND REPLACE Heading 1 : Inside indent 0 Heading 2 : Inside indent 0.5 Heading 3 : Inside indent 1 Heading 4 : Inside indent 1.5 The macro has been recorded correctly (as far as I can tell) - I checked the script for the correct indents at least. Trouble is the macr...
4 11/27/2008 4:46:06 AM
Insert into a table a copied portion of a table
Hi, I have a form with a subform in a parent child realtion. Such that each record of the subform has an identifying ID which links back to the ID of the main form. I can filter out subform values using the this ID number So that these values (say 30 lines) can be copied into a new form and entered in that subform but with that new forms ID - can this be done with insert into and if ...
3 11/27/2008 2:08:01 AM
Start Winword problem...
Hello, I have a template called "(MR)Patient Forms(Pkg).dot" which when I double click on it, it runs the following Macro and it does the necessary tasks: Sub AutoNew() Application.Visible = False Pforms.PVDate.Text = Date Pforms.MultiPage1.Value = 0 Pforms.Show End Sub I want to do this via a start winword command. Here is what I execute at the DOS prompt: F:\MRMDinc>...
2 11/27/2008 12:24:10 AM
Making Hypher link by collectin strings
hi, i want to copy some codes there between two words and paste at one place( write at one place) and make the line hypherlink and open the link. the default line will be http://www.sec.gov/Archives/edgar/data/ and actual link is like this http://www.sec.gov/Archives/edgar/data/776867/000110465906021419/a06-7859_1def14a.htm in the above link up to data/ default and remaining number and c...
2 11/26/2008 11:33:56 PM
AutoOpen - Error
I am just trying to set an AutoOpen routine to turn off the comments and revisions and set the revisions view to final. Sub AutoOpen() With ActiveWindowView ..ShowRevisionsAndComments = False ..RevisionsView = wdRevisionsViewFinal End With End Sub I add it as a module to my normal template and when I open a document I get the "vba object variable or with block variable not set" erro...
2 11/26/2008 11:04:12 PM
Finding and Replacing a Certain Word from 100+ Documents
Hello, I have been put in charge of a Major task and I was wondering if there was an easier way of automating that task. All of the documents listed below are in Word 2007 format. I have 59 folders and within each folder I have about 50+ documents with policies and procedures. I now have to go through each of those folders and each of those documents and look for a certain word and...
20 11/26/2008 2:26:34 PM
275 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
Newsgroups Reader