How to count the Reference Characters ?
Author |
Message |
VisualMembe #1 / 7
|
 How to count the Reference Characters ?
hi, how can I get the number of characters of the reference when writing emails with Word2000 ? I tried to use Selection.Characters.Count, but that doesn't work, Selection seems to refer only to the Document Text. Any solutions ? Thnx. =) VM
|
Wed, 22 Oct 2003 02:14:07 GMT |
|
 |
Ken Slovak - [MVP - Outlook #2 / 7
|
 How to count the Reference Characters ?
Get the text into a string variable and get the Length of the string. -- Ken Slovak [MVP - Outlook] Lead Author, Professional Outlook 2000 Programming, Wrox Press Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13, Appendices, Sams
Quote: > hi, > how can I get the number of characters of the reference when writing emails > with Word2000 ? > I tried to use Selection.Characters.Count, but that doesn't work, Selection > seems to refer only to the Document Text. > Any solutions ? > Thnx. =) VM
|
Wed, 22 Oct 2003 02:15:28 GMT |
|
 |
VisualMembe #3 / 7
|
 How to count the Reference Characters ?
Hi Ken, sure but where can I find the Subject when writing an Email with Word2000. ActiveDocument.GetLetterContent.Subject didn't work, cause no Subject was saved there although I typed in one ?! Thnx =) VM
Quote: > Get the text into a string variable and get the Length of the string. > -- > Ken Slovak > [MVP - Outlook] > Lead Author, Professional Outlook 2000 Programming, Wrox Press > Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13, > Appendices, Sams
> > hi, > > how can I get the number of characters of the reference when writing > emails > > with Word2000 ? > > I tried to use Selection.Characters.Count, but that doesn't work, > Selection > > seems to refer only to the Document Text. > > Any solutions ? > > Thnx. =) VM
|
Wed, 22 Oct 2003 04:09:02 GMT |
|
 |
Ken Slovak - [MVP - Outlook #4 / 7
|
 How to count the Reference Characters ?
What if you just get the item as a MailItem? Can't you get the subject then? -- Ken Slovak [MVP - Outlook] Lead Author, Professional Outlook 2000 Programming, Wrox Press Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13, Appendices, Sams
Quote: > Hi Ken, > sure but where can I find the Subject when writing an Email with Word2000. > ActiveDocument.GetLetterContent.Subject didn't work, cause no Subject was > saved there although I typed in one ?! > Thnx =) VM
|
Wed, 22 Oct 2003 04:30:00 GMT |
|
 |
VisualMembe #5 / 7
|
 How to count the Reference Characters ?
I can, but when writing a new Email, Outlook will open Word as the Email Editor. Then I don't know how to get the Subject, cause it's no longer Outlook - I have to write an Word macro. The function should be to click on an integrated Button that shows a Msg which shows the Characters of the Email Subject. Actually only one line code, if AvtiveDocument.GetLetterContent.Subject would work, or something else ?? Thnx =) VM
Quote: > What if you just get the item as a MailItem? Can't you get the subject > then? > -- > Ken Slovak > [MVP - Outlook] > Lead Author, Professional Outlook 2000 Programming, Wrox Press > Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13, > Appendices, Sams
> > Hi Ken, > > sure but where can I find the Subject when writing an Email with > Word2000. > > ActiveDocument.GetLetterContent.Subject didn't work, cause no > Subject was > > saved there although I typed in one ?! > > Thnx =) VM
|
Wed, 22 Oct 2003 15:32:10 GMT |
|
 |
Ken Slovak - [MVP - Outlook #6 / 7
|
 How to count the Reference Characters ?
I don't use WordMail but don't you get a NewInspector event when an item opens even if the editor is Word? If you do you can still get the new mail item I believe. -- Ken Slovak [MVP - Outlook] Lead Author, Professional Outlook 2000 Programming, Wrox Press Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13, Appendices, Sams
Quote: > I can, but when writing a new Email, Outlook will open Word as the Email > Editor. Then I don't know how to get the Subject, cause it's no longer > Outlook - I have to write an Word macro. The function should be to click on > an integrated Button that shows a Msg which shows the Characters of the > Email Subject. > Actually only one line code, if
AvtiveDocument.GetLetterContent.Subject Quote: > would work, or something else ?? > Thnx =) VM
|
Fri, 24 Oct 2003 22:53:11 GMT |
|
 |
VisualMembe #7 / 7
|
 How to count the Reference Characters ?
Thnx, will check it out. =) VM
Quote: > I don't use WordMail but don't you get a NewInspector event when an > item opens even if the editor is Word? If you do you can still get the > new mail item I believe. > -- > Ken Slovak > [MVP - Outlook] > Lead Author, Professional Outlook 2000 Programming, Wrox Press > Co-author of "Programming Microsoft Outlook 2000", Chapters 8-13, > Appendices, Sams
> > I can, but when writing a new Email, Outlook will open Word as the > Email > > Editor. Then I don't know how to get the Subject, cause it's no > longer > > Outlook - I have to write an Word macro. The function should be to > click on > > an integrated Button that shows a Msg which shows the Characters of > the > > Email Subject. > > Actually only one line code, if > AvtiveDocument.GetLetterContent.Subject > > would work, or something else ?? > > Thnx =) VM
|
Fri, 24 Oct 2003 23:17:50 GMT |
|
|
|