So far it's perfect. I appreciate your efforts.
Now, after the amazing code above, I need to use text.typeparagraph until the cursor reaches a vertical position equals or greater than 18 cm.
Why I do this? I have one sentence which I need to place on an almost the same position at the bottom...
Thaaaaaaaaaaaaaaaaaanks. working perfect.
But, I can only use (from top of page). Is it possible to be (from bottom of page)?
sorry for any incontinence
Hi great people!
I need to get the current position of the cursor (vertically) as relevant to the start of the page but in CENTIMETER
I tried this code:
Selection.Information(wdVerticalPositionRelativeToPage)
it gives me, as I thought, the position but in points.
To make it clearer: If I'm in...
Hi All,
If I need to search two words (non consecutive) in a paragraph, what to do whether by code of normal find.
Is there any special character to use in search criteria as (^p) ...etc.
Thanks heros
indeed the word or words before the column (:) should be bold, not after the column.
These particulars widely change whether within the same document or other documents.
The first above code which I inserted is working fine but it applies to all the document.
All what I need to limit running...
For clarification,
Attached a screenshot of word document containing two blocks (First Block and Second Block)
I need to select the text under first block and apply the code only to selected block. i.e. second block should not be affected.
Regards,
Dim bWC As Boolean
Dim oRng As Word.range
Set oRng = Selection.range
With oRng.Find
.MatchWildcards = True
.Text = ":"
.Wrap = wdFindStop
While .Execute
oRng.Select
.......... > format code
Hi,
I'm using the following code to format the text after the column sign (:) as bold. The issued is that it goes through the whole document, while I need it to run on selected range only (table, paragraph(s)...etc).
Thanks for your usual support
It seems impossible. However, it's significant to me.
if my current document is located in: (D:\works\123) for example. I need to create a folder under the upper (parent) directory (works) in this case.
How to create such folder. NB: Parent folder changes (like: D:\projects\reports) ....etc.
It...