Hi.
I've seen your pm to me and the macro you've recorded.
When a predefined letter with letterheads and so on has to be created, normally a few words or dates are filled in.
For example, an invoice for a company. Nobody creates everytime a complete new document. Most information is static, like the letterhead and the standard terms on the backside. Only a few information has to be filled in.
You say, there were no bookmarks. Thats correct. You have to insert this bookmarks, before you try to fill them.
My english is not the best. I've thougt you have a predifined MS-Word document and you only want to fill some words in it.
In your case some dates and maybe the name of the pet, name of the owner and adress, phonenumer and so on.
- - First step is opening the word document and insert the bookmarks and give them individual names.
- Second step is to save this word document as template (.dot or .dotx).
- Third step is modifiying my example script by changing the names of the bookmarks and the paths and names of the word documents.
- Fourth step is then executing the script.
Try first to insert one bookmark into a blank word document and try to fill this with ahk.
When this works, modify your pet shelter document.
Please post code and other information or questions only into this thread.
Don't send them with pm. Use pm only to point me, that you have added something to your thread.
Otherwise it could be difficult to follow your thread.
Hi.
I've seen your pm to me and the macro you've recorded.
When a predefined letter with letterheads and so on has to be created, normally a few words or dates are filled in.
For example, an invoice for a company. Nobody creates everytime a complete new document. Most information is static, like the letterhead and the standard terms on the backside. Only a few information has to be filled in.
You say, there were no bookmarks. Thats correct. You have to insert this bookmarks, before you try to fill them.
My english is not the best. I've thougt you have a predifined MS-Word document and you only want to fill some words in it.
In your case some dates and maybe the name of the pet, name of the owner and adress, phonenumer and so on.
[list=1]- First step is opening the word document and insert the bookmarks and give them individual names.
- Second step is to save this word document as template ([color=#008000].dot[/color] or [color=#008000].dotx[/color]).
- Third step is modifiying my example script by changing the names of the bookmarks and the paths and names of the word documents.
- Fourth step is then executing the script.[/list]
Try first to insert one bookmark into a blank word document and try to fill this with ahk.
When this works, modify your pet shelter document.
Please post code and other information or questions only into this thread.
Don't send them with pm. Use pm only to point me, that you have added something to your thread.
Otherwise it could be difficult to follow your thread.