PDA

View Full Version : Finding Font Position + word (VBA )



senthilkumar
02-22-2008, 02:25 AM
:banghead: Am in need to find the actual font position in ms word (2003-Professinal).

TonyJollans
02-22-2008, 05:08 AM
What do you mean by Font Position?

senthilkumar
02-22-2008, 05:59 AM
I can understand your problem of understanding the font position. Now I am Clearly telling that position of the font is nothing but font position. I think now u can understand.

TonyJollans
02-22-2008, 06:18 AM
I'm sorry but I don't understand at all. A Font in a Word Document doesn't have a position. Font is a property of text.

senthilkumar
02-22-2008, 07:03 AM
@Tony,
Font is having its unique position. To find the find position you just select a charectar and right click it. in the font menu there will be three tabs in which second one is charectar position tab in which you can see the charectar spacing tab. in that u can c the position.

TonyJollans
02-22-2008, 07:25 AM
Ah! That position, the obvious one ... the .Font.Position one!

fumei
02-22-2008, 10:45 AM
And there you go.

senthilkumar, that is the answer.

.Font.Position

For either a Range, or a Selection.

Selection.Font.Position

Range.Font.Position

It is a read/write property.

This is easily found in Help. It can be found by typing "position" - and you can get a Help example - in the Object Browser. I suggest you use the Object Browser more.

fumei
02-22-2008, 10:53 AM
senthilkumar,

"Now I am Clearly telling that position of the font is nothing but font position"

No, that is NOT clear.

Position can mean a few different things. No one can read your mind and know you are talking about a rarely used - and questionable design IMO - feature.

VERY few people use this feature of Word. "Position" to most people would mean the position in the document. In which case, no, Font does not have a position.

If you "need to find" such an unusual value, you have to clearly state that.

And if you have documents that use such a feature I have to wonder what your documents look like.

WHY do you "need" to find this value? Are you trying change it?

senthilkumar
02-22-2008, 08:32 PM
@Gerry
we people are working on e-publishing industry and need to automate the copyediting process in the word documents. while processing the documents we need to find the font position for the various process.

fumei
02-24-2008, 06:38 PM
"while processing the documents we need to find the font position for the various process."

That tells me nothing whatsoever. It is a useless bunch of words.

Here...you try it.

QUESTION: WHY do you "need" to find this value? Are you trying change it?

ANSWER: we need to find the font position for the various process



Yes, I just love clear answers that really give good information. I don't know why I bother. I should know better.

No matter. At least you had your question answered. The "actual font position" is.....Font.Position

TonyJollans
02-25-2008, 08:21 AM
I too would be very interested to know what you think you can do with this value as there is not a direct relationship between it and the position of the text on the page. The baseline might be lowered, for example, to accommodate raised text and it may be the next line that is affected.

fumei
02-25-2008, 11:16 AM
Exactly, there is a possible relative affect on other text.

I have rarely...come to think of it, I have never seen it being used. I can see it has possibilities, but your question indicates that it IS being used.

OUR question is, what are you trying to do with it?

gwkenny
02-25-2008, 10:17 PM
I like to think I've been around the block with regards to the things you can do with word.

I have used font position before, but on very rare occasions. Probably count the times on one hand. I've only used it for logo work where the font was identified and I needed to recreate the logo and I did not have access to Adobe.

"while processing the documents we need to find the font position for the various [copy editing] process."

What is copy editing process to you?

iwonder
07-14-2017, 08:05 AM
You'll find source and soluce to this problem here :

http://www.msofficeforums.com/word-vba/36111-finding-raised-characters-0-5-pt-step.html

it is still an issue in 2017