Hi all,
I have a macro that concatenates rtf files. It opens a sequential access file that contains all the names of the files to be concatenated, reads through one line at a time, does some stuff to each file (mostly just strips fields out), then copies the updated file to a new file, inserts...
Hello, I am having an issue pasting an excel spreadsheet into a word document. Some of the cells in the spreadsheet wrap the text for a few lines; all of the information is shown in the spreadsheet. However, when I copy the spreadsheet and paste the spreadsheet into my Word doc (Paste...
Gerry,
I generated the first TOC by using Insert/Reference/... it is a 'normal' TOC based on the heading styles in the document.
The second TOC is based on a specific style (all entries in this table are a single style); it is in the second part of the document. This TOC was inserted as a...
Hello all,
I have two TOCs in my document; one that is a 'regular' TOC that includes page numbers (based on H1, H2, H3 etc.), then a second one that does not include page numbers. This second one is generated based on a style type and only includes a single style type.
I am having trouble...
The numbering is going to be done manually by typing them in - the statisticians have very specific needs and it is just easier at this point to let them do it this way.
I modified the existing caption style to suit my needs.
The captions are just text, there are not part of the table.
I...
This is an existing document that I am updating to generate a TOC automatically rather than manually as has been done. I have tried to redefine the existing table titles as captions (for now they are 'normal') and I have tried recreating test captions from new. I get the same thing.
The...
Not sure what you mean by hard spaces ... there are no columns in the captions.
All this document contains is tables with captions; the captions are above the tables. The TOC is based on the captions.
If there is any other info that I can provide please let me know. This is driving me crazy!
Hello,
I am generating a TOC based on a style in my document. This is the field code I am using to generate the TOC.
{TOC \t "CAPTION" \w \z \n \x* MERGEFORMAT}
I want to generate the TOC based on the style "CAPTION", I don't want to show the page numbers, I want to retain the tabs. For...
Hi all,
I inserted many option buttons in my excel worksheet using the forms toolbar. These option buttons are in groups of 3, in a frame, in most of the rows. Is there a way I can deselect all the option buttons when the document is opened? Thanks!
Hi all, I have written a word macro that reformats a document that has been created from many other documents. This document creating portion of the program (in VB6) works fine. However, when I try to call the word macro from VB6 I get "Error 4608 value out of range". Here is the code...
I have a reference to Word in VB, the other parts of my code work, just not where it calls the macro from the word document.
Sometimes the document that I am formatting is in RTF format rather than a doc - don't know if that makes a difference. When I run the macro from word it runs fine.
Hi Gerry,
I have tried commenting out some parts of the formatting but I get the error on the next line of code. I can run this macro from the word document, I only have an issue with it when trying to run the macro from VB. It is odd though.
Thanks, Katy
Yes that is exactly what I am doing in the macro. There are 4 option buttons that the user can choose from; each is the same but for the formatting. I just copied the first one.
Hi all, I have a VB 6.0 program that I wrote that does a few different things with a word document. Everything works so far, however I am having an issue when I open a word document then try and run a macro in the document.
(My VB isn't the greatest)
This is the code in the sub that opens...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.