Dear Anne
Thanks for your assistance. I had indeed already tried this method. It is a good idea to put it in a macro, which I will manage, thanks for your offer anyhow.
However, I had hoped to avoid the problem in the first instance. THese are files of my friend, and various fonts are used...
When I convert Wordperfect files to Word, either directly or via RTF files, characters with accents get changed to unrecognizable characters. The option change fonts does not seem to fix the problem
I have hundreds of WP files? is there anyway this problem can be overcome
Thanks
I have created my heading styles H1, H2, H3, and linked these to outline numbering levels 1, 2 and 3 respectively. For the first level (H1), I added Chapter before the outline number.
Unfortunately, H2 seems to behave as H1 does not exist, this is, it continues the numbering of the previous H2...
Thanks for your assistance to my previous question on dynamic array whereby one dimension is an existing array
Could you explain a bit more about
- "TYPE" variable instead array
- a dictionary?
many thanks for the two very quick responses.
Indeed, The Vampire, your were correct with the typo error:
strInterventions(x,i) = strInterventionFields(i); instead of (6,i)
Now I do not seem to grasp the crucial second part of your answer. What do you mean by making this variable a...
Hi,
I have a one-dimensional array, strInterventionFields(6) filled with 7 field items (option base 0) of one intervention
I now want to transfer this array for each intervention in a second two-dimensional array strInterventions() which should eventually look like strInterventions (52,6) (in...
I want to create a report in which a memo field may contain from 0 characters upt to several pages.
How can I fit the size of the textbox containing such a memo field so that only space on paper is used as required.
Hi,
I want to print a memo field in an ACCESS report. This memo field contains sometimes only a few words, but is at other times several pages long.
How would one develop a macro or VBA procedure to adjust the length allocated to the memo field on the report to the actual size memo field.
Or...
Thanks for the reply.
Unfortunately, I am still quite new to programming. I have looked for the RegExp object, but I do not seem to find it in Visual Basic or VBA. Is this a VB or VBA object, and if not, how could my problem be solved.
Thanks for the assistance
Is it possible to use a wilcard character, for example the VBA for WORD wildcard ^t to search for a tab.
Instr(1,"MyString",^t)
I tried it in vain, but maybe, there is a way around
Thanks,
It was not always possible to convert an Office macro made in VBA to a stand-alone programme made in VB6. For example, to open a Word Document, you had first to create the Word Object, while this was not necessary in the macro itself.
Does the same difficult still persist in VB.Net
Hi,
In VBA, it is relatively simple to look through all the files in a folder, and open all the *.doc files consecutively. How do you perform the same operation in Visual Basic 6, instead of in Visual Basic for Applications.
THanks
MS gives the following example in VBA it looks:
Set fs =...
Thanks for your assistance, See also what I received from a similar question:
_______________
JohnYingling (Programmer) Mar 22, 2002
In word, the application object is automatic and already defined. You will need.
Dim objWord As Object
Set objWord = CreateObject("Word.Application"...
Many, many thanks.
as an amateur user, it is only since a few weeks that I am on this forum, and I find it really amazingly useful. It is amazing what people can do for each. For example, since a long time I was looking for a reference like one you just gave>
One more small question:
You...
Hi,
I have a created a macro in Word to access various files in a directory, and to perform such actions on those files. This macro worked fine and the first lines are shown below.
When I want to use the same code in a stand-alone VB6 exe file, it does not seem to work anymore. An error...
Hi there,
I wish to convert a macro which works fine to a stand-alone VB6 program.
The first line in the macro read: Set fs = Application.Search
In the stand-alone programme however, it returns an error: Application not defined as Variable. With some slight syntax variations, it says Object...
I wish to thank you very much. I am a beginner, and this type of support is really great.
I still seem to have a small problem: when I try to run the macro, it stops on "wd As Word", and says: expected user-defined variable, not project.
Secondly, the macro becomes lenghty, to the...
Hi,
A set of documents has normal text interspersed with line paragraphs commencing with a date, tab, number, tab, number. I want to retrieve these latter lines, and copy them to an array if the date is later than a pre-set date.
So far, I have done the piece of code given below, which works...
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.