| Thread | Last Post | Replies |
|
| Step through document to make headers | 21 Mar 2005 03:31 GMT | 2 |
I have a document that is about 600 pages long that I need to programmatically make headers (Heading 1, Heading 2, Heading 3...) I want to be able to step through a document line by line and read the contents of the beginning of each line, and if it matches a certain text, make ...
|
| Create a template with pictures | 21 Mar 2005 02:40 GMT | 3 |
I do not know much about VBA but it seems to me that it should be possible to make a little macro which asks the user what pictures should be inserted (select them from harddisk) and place al pictures (mostly 6 pieces) in 2 columns 3 pics high on one page the pics should be all ...
|
| How to set focus to control outside of frame | 21 Mar 2005 01:29 GMT | 1 |
I have a user form with text boxes within a frame and a button outside the frame. In the _AfterUpdate() handler for the text boxes, I want to set focus to the button. When I try this, is get a "unexpected call to method or property access" error.
|
| For Each...Next | 20 Mar 2005 16:16 GMT | 2 |
I have several forms with a lot of check boxes on it. Each checkbox represents a form that will print out if its corresponding check box is checked. instead of writing an if...then statement for each checkbox i would rather write code that will automatically check all checkbox ...
|
| Adding a menu command which will run a macro | 20 Mar 2005 15:10 GMT | 2 |
How can I add a menu command to the Tools bar of Word, Named "Run My Macro", That will run the macro "Macro1"? I would like the code to be at the Normal template. I would like it to check every time Word starts
|
| To Howard Kaikow | 20 Mar 2005 12:40 GMT | 3 |
You gave me a link to your site, http://www.standards.com/index.html?VBACodeSnippets and advised me to check there to find some code which will help me with my problem (I need my Word Userform created in VBA to open on top and remain on top of all other windows). Access gives this ...
|
| code is placing letter text in 2nd pg header | 20 Mar 2005 06:14 GMT | 3 |
Here is my code which sets up the header for the 2nd page if my document is longer than 1 page (this is from a template app): MyDate = DateSerial(Year(Date), Month(Date), Day(Date)) Application.ScreenUpdating = False With ActiveDocument.Sections(1).Headers(wdHeaderFooterPrimary)
|
| Adding spaces at the beginning of specific line | 20 Mar 2005 05:11 GMT | 16 |
I want to build a macro which will replace hanging indent with equivalent number of spaces like " ". I assume the user is using the Courier New font with the size set to 12. I've started building it, but I don't know how to add the spaces at the
|
| 3 things I don't get | 20 Mar 2005 04:44 GMT | 5 |
This is related to another of my posts but I want to keep separate so not to confuse. I have a number of checkboxes in different cells (one checkbox only in a cell). What is selection.cells(1) ? Is this cell # 1 or just the first cell of
|
| Sequential Number | 20 Mar 2005 02:53 GMT | 2 |
I want a particular Word template to have a sequential number each time it is opened. How can this be done please?
|
| Probably Incredibly dumb newb. question | 20 Mar 2005 02:51 GMT | 5 |
I don't do VBA usually. However, I must now accomplish a seemingly very simple task, but I can't for the life of me figure out how. Upon activation of the macro, I want Word (XP) to insert a textbox (not a Form TextBox, where the bulk of my Google queries end up, but just as
|
| Just the first Line please | 19 Mar 2005 23:24 GMT | 9 |
Hello from Steved I want to use the bottom vba please Sub Word2() Dim pPar As Word.Paragraph
|
| checking for an instance of Word | 19 Mar 2005 22:34 GMT | 1 |
I'm running some VBA code thru Access to open Word and print some documents. How do I check to see if an instance of Word is already running? Thanks in advance Ted
|
| Global template document properties | 19 Mar 2005 07:04 GMT | 8 |
At present I have a series of templates each with their own custom document properties. If I have a user form with, say, a textbox with the name 'txtdepartment' I can then access the custom document property as follows: txtdepartment=activedocument ...
|
| Create a triangular text box in Word | 19 Mar 2005 04:26 GMT | 3 |
Is it possible to generate a triangular "text box" in Word so that text wraps to the shape (i.e. A at the very top, AB on the next line ABC on the next, etc)? Or are we limited to a square? Regards,
|