Setting MS Word Properties in VB6  |
|
does anybody know how to set properties like fonts in MS Word via VB6? i'm creating a report which uses Word for printing purposes, and i can't seem to be able to set fonts properly.
| |
| |
|
|
|
|
|
|
|
|
1. danzer (2490) | 9 months ago | 3 month old post and nobody responded! I think what you better do if you have problems with your computer is to use the search engines such as yahoo and google. You will save yourself time!
| |
| |
|
|
repzkoopz (923) | 9 months ago | yep.. 3 month old post and the first it gets isn't helping. seems you didn't understand the problem. you see, the problem here is programming related, and is more complicated than you think it is. it would have been more helpful if you just left it as it is with no response because in the first place, i didn't expect a lot of responses from here knowing there are very few programmers around. and just so you know, i've already resolved the problem the same night i posted it. i've been here for quite some time and i've seen the difference between trying to help and merely posting to add count.. yours is obviously the second..
| |
|
|
|
Docutools 5.0 Formatting Software Docutools extends MS Word, enabling writers to quickly and consistently develop reference documentation. www.p-t-a.com | add comment |
|
|
|
2. mnsrwt123 (1059) | 7 months ago | well, if you just wanted to do this then you have to set it through properties of any fonts, just right click on it and there you find a property tab and then select some fonts and fonts size...
| |
| |
|
|
repzkoopz (923) | 7 months ago | well.. thing is, property settings for the word object model isn't exactly similar to property settings with vb itself. but no worries, i managed to sort things out though. hehe.. but thanx for your response though.. i appreciate it. c",)
| |
|
|
|
NJ Phone Answering 24/7 Answering with Flat Monthly Rates. Free Custom Auto-Attendant. www.premiereanswering.com | add comment |
|
|
|
3. ferdzNK (2058) | 7 months ago | Greetings repzkoopz! I was able to do it though with in MS excel macro way way back, the commands are all there in excel help file. I just wasn't able to tried it from within VB. That is why I'm curious, how did you did it(tinker word from VB)?
| |
| |
|
|
repzkoopz (923) | 1 month ago | hey there ferdzNK! c",) sorry, i didn't notice someone else actually responded here. anyway, i managed to find some codes i'll need to set proper formatting to the report i was making.. i used codes like these: --------------------- Set oRange= oDoc.Bookmarks("\EndOfDoc").Range oRange.Text= oRange.Text & Format(Now, "mm/dd/yyyy") & vbCrLf & vbCrLf oRange.Font.Name= "Arial" oRange.Bold= True oRange.ParagraphFormat.Alignment= wdAlignParagraphRight ---------------------
| |
|
|
|
answering office phone virtual Find providers of answering services in our directory. www.business.com | add comment |
|
|
|
| | 1000s of Ringtones Don't miss this great offer! Instant, easy download to your cell. Ringerman.com
| computer answering service Practical Advices for Consumers About computer answering service. CallAnsweringServices.net
| Answering Service Find answering service company Near You. The Web's Local Search Engine. www.local.com
|
|
|
|
|