Group:  Microsoft Word ยป microsoft.public.word.vba.userforms

Geek News

Threads Replies Last Post
14 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  
combo boxes
Hi, I have posted this at two sites and I am totally new to this form things, macros, combo boxes etc.... so I am creating a user form with 20 combo boxes. All of them have more than 3 options some the same options but in different questions. I did the first combo box and it's working fine problem is when I try to create the 2nd, 3rd and so on. This is the thing that I am using for t...
2 12/31/2008 12:26:13 PM
Use "X" on UserForm
I have a simple userform with two buttons "OK" and "Cancel" If the user clicks OK I want to process additional code in the calling procedure. If the user clicks Cancel or "X" I want the calling procedure to end. I know how to intercept the "X" button so that it does nothing and I know how to disable the "X" button. In this case I want the "X" button to mimic the Cancel button. I...
3 12/22/2008 1:48:23 AM
Build TOC
I have some requirements to build TOCs using strictly TC fields (no styles). I can do that easy enough by clicking on the InsertTOCdialog, clicking on Options, and changing the Build table of contents from options 1. Uncheck "Styles" 2. Uncheck "Outline levels" and 3. Check "table entry fields" I want to do this programmatically. I have figured out how to uncheck "Outline levels" an...
4 12/14/2008 3:26:16 PM
reLoad a form
Hi I have designed a form for Word 2007. I would like to know if it's possible to reload a form from bookmarks data after submitting a form. I mean after I submitted a form, I need to revise some data and I need to re open the form. In this case, I need to have the data that has already inserted to the Doc in the form fields. Thanks ...
2 12/9/2008 1:34:59 AM
Appending a document to an Active.Document
I am creating a form with many TXT boxes and Yes/No questions. Depending on the yes/no selection from several places, I need to "Append" another document at the end of the active document. This document is rather large and could possible end up with approximately 50 pages in it. I have each of the documents that will be inserted coded to pull in info from the TXT boxes but I can't get...
4 11/21/2008 7:04:10 PM
Inserting information into a document from userform based on input
I have a userform and have put bookmarks into my document to insert the data entered into the userform. Some of the fields in the userform will not always be used everywhere in a document. For instance, I have fields Atty1 and Atty2 which are used several places in the document. In one place, both will be used, in another place it is possibly to only use Atty1. I put a checkmark ne...
4 11/20/2008 5:33:24 AM
Intermittent failure to load userform
I have a 22 page document in Word 2003 in which I have built a userform called frmDataEntry. It is set to load when the document opens and at any other time the user clicks the F3 button. This works most of the time, but sometimes it doesn't. Here are the conditions under which it most often fails and the unacceptable workaround I have had to use the overcome that failure: 1. When I star...
7 11/16/2008 10:26:17 PM
FileDialog SaveAs Doesn't Work ?
I'm using the following code in a piece of Word 2007 vba code The problem is i just ignores my path settings and points the saveas back at my default documents directory, anyone any ideas what i'm doing wrong please ? I set the path with Options.DefaultFilePath(wdDocumentsPath) = strClientsPath a few lines earlier in the code and have also tried issuing a ChDir(strClientsPat...
3 11/12/2008 9:57:08 PM
Textbox - Print
Hi All; I want to know is there a way to print the contents of a mult-line text box. Right now when I print the form it just prints what is showing on the screen of the text box. I need to print all of the contents of the text box. Thanks Bert B....
2 11/2/2008 6:10:18 AM
Line break in Control tip text
How do you add a line break (or create multi-line) in control tip text? Thanks. -- Greg Maxey - Word MVP My web site http://gregmaxey.mvps.org Word MVP web site http://word.mvps.org McCain/Palin '08 !!! ...
2 11/1/2008 9:06:16 PM
Excel data into Word Userform
I use lists of data made in Excel to populate a Word userform listboxes. Always have to deal with two files the word template and the excel file. Now with Word 2007 I see the possibility of having just one file as the docx is actually a zip file, I want to store the Excel file into this zip, maybe in an XML format. My question are How to go from excel data to XML file inside the docx ...
1 10/29/2008 12:19:02 PM
Newbie: Problem with re-using a combo-box in userform
I'm new to userforms and can't find a solution. I'm wanting to use this rough-draft macro and userform to let get me choose a worksheet of a workbook from a combo box, and then reuse it again to let me choose a worksheet from another workbook in the combo box. It seems to work ok the first time around, but the second time the combo box wants to display the same worksheets from the firs...
3 10/5/2008 8:36:06 PM
Userform with ms word
I have use the bookmark system with user form. in this method we can mak a template only. but i want to use the same userform in this way: " when ever the fields of the userform will be filled-in, the formated text should be placed on the new page in the same file and it should continue within the file to everytime when the file runs, the userform should appear and after filling it, th...
2 6/30/2007 4:26:14 AM
How to count in VBA?
Hi - I'm creating a userform with various textboxes, docvariables, and listboxes. The problem I am now faced with is two fold: Problem 1) I need a way to count count the data entered into the textbox and the result of the count will perform a specific action. For example: user enters 10 lines of text (each ended with a carriage return) the resulted output would provide the word "apple"...
11 6/27/2007 1:32:54 PM
Get Word's cursor coordinates on the screen
Hi, I have a form that opens on top of a doc so the user can perform a search. The form is rather minimal, but it still gets in the way sometimes and covers the search hit (selected text in the doc). I want the form to move out of the user's view. Since the search hit is selected, I could use the insertion point's position on the screen as reference, but I don't know how to do that in VB...
3 6/24/2007 9:55:55 PM
Office Button Word 2007
Does anybody know how to hide the office button if Word 2007. I have managed to get rid of the ribbon, but still can't get rid of the office button....
1 6/21/2007 10:53:00 PM
interface to mark image coordinates
Hi [I posted the same in the word graphics news group later I felt this is the right place.] I have req where I prompt the user to browse for an image, which will be copied to a folder and as the user starts fillin in the word template I need to provide an interface for the user to select a particular coordinate in that image. I am right now using a macro to browse the image and th...
2 6/20/2007 9:47:15 PM
Clearing/Resetting document bookmarks via the UserForm
Great tutorial, I just finished and my UserForm works (once). The fields from the UserForm are placed into the document at the bookmarks using the .InsertBefore feature. Now I would like to add a 'reset' button to clear the document (after printing) so it can be filled out again. If I use the .InsertBefore " ", it just adds a space before my previous entry. I tried using .Delete but t...
3 6/12/2007 8:06:34 PM
inserting multiline text from pick list
Here is the situation. I have a Fax transmittion form for a company with 5 offices. I want to create a single template that can be used by all 5 offices. (that way where there is a change to the document we are only changing 1 document, not 5). The fax form is a protected form with form fields. I would like to have a selection box something like "Select Office" and when the user sel...
2 6/9/2007 1:30:53 PM
Formatting Text Input From Dialog Box
I'm revising and consolidating a number of business letters. Most just use form fields and drop-down menus, but for some of the more complex letters I have been writing simple macros that run upon selection from a drop-down, ask the user for a few bits of data, and spit out the relevant sentence or paragraph. The problem is that while the form field text can be set up to autoformat, I ...
2 6/5/2007 5:14:34 PM
Checking for null field on exit
I have a Word 2003 form that I want to check to see if a particular form field is null when exiting/saving the document. If it is, then I want to prompt the user to either go ahead and close form without entering required data, or go back and enter the data. I have a macro to check when exiting the form field, but it does not check to see if the field is null if the user never enters the fi...
2 6/5/2007 9:05:28 AM
Signature Block in Forms
Good Morning, I have a form that I have added a signature line on the bottom of it. If I turn on form protection the form works but the signautre line does not and when form protection is turned off the signature line works. Is there any way to have the signature line work when form protection is turned on? Thanks! Dale ...
2 6/4/2007 11:10:06 PM
How to coding this problem!
I created a form in MS Word and now I want to use it just by press "Show" button. The value of "text form fields" changed but it didn't show on the screen. I must double click on "text form fields" which I want it show after that I click "OK" from the form, its value change . How can I coding this? I attached this file for you for your ref. Thank you. I can't find where I can upload ...
2 6/4/2007 1:05:30 PM
Drop down menu
Hi again! I have a drop down menu that I would like to fill with "January, Feburary, March.. etc" I have the dropdown menu inside a form. Would a list box or a combo box be better? Also how do I actually fill the box with the dates? (I dont want to link to some external place since the months will never change)...
5 5/31/2007 1:46:19 PM
userform won't show & can't list sub folder names
I can't get my userform to show. I tried "NameOfForm.Show", but it does not recognize the object. What am I missing? I am trying to create a drop-down in a userform that lists all the subfolders in a particular folder that I specify. Is there a collection for subfolders? Where do I access a list of subfolders? Thanks, John EggHeadCafe.com - .NET Developer Portal of Choice http://...
3 5/28/2007 2:31:17 PM
14 Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  

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