in
All Tags » word » vba » line (RSS)

Browse by Tags

  • Change the line width of a line in Word

    I am using the next code to itentify a line on a template and change the height: I can set the height, top and left properties but not the width. What hapeens when i set the width is that the line becomes diagonal. First its a line like | but after setting the width it looks like \ How is this possible...
    Posted to Word (Forum) by microsoft on 03-17-2010
  • Word VBA: How to get an ABSOLUTE line number?

    I'd like to get the ABSOLUTE line number (which means, count from the beginning of document, not the beginning of that page) of the first character of a selection (better yet, of any range). Any way to do this? Some related codes I know of are : [A] aRange.Information(wdFirstCharacterLineNumber)...
    Posted to Microsoft Office (Forum) by microsoft on 12-05-2009
  • Problem: VBA Macro for lines with no text

    I want to create a macro that recognises a blank line in an MS Word document. And I want it to take account of the fact that there can be lots of white space and still be a blank line. At the moment, my macro does this: dim para as paragraphs dim rng as range dim blnBlankLine as boolean 'this should...
    Posted to Word (Forum) by microsoft on 05-30-2009
  • Problem: Search for soft-line break in VBA (shift+enter)

    Hi Experts, I cannot figure out why this won't work... and my brain is starting to ache! I'm trying to write code in VBA to determine if a paragraph contains a soft line break (ie the thing that happens when you do Shift+Enter in word. My code is: Dim para As Paragraph Dim rngPara As Range for...
    Posted to Word (Forum) by microsoft on 05-30-2009
Page 1 of 1 (4 items)