Consulting

Results 1 to 3 of 3

Thread: A Selection method that simulates enter key AND utilizes the same 'Left Indent' pos

  1. #1

    A Selection method that simulates enter key AND utilizes the same 'Left Indent' pos

    Pos refers to position.

    I used the following statement:
    Selection.MoveDown Extend:=wdExtend
    It displays the following:
    https://i.imgur.com/BDFmVr6l.png

    I would like the cursor to instead align with the Left indent position of the square bracket above it.

    I'm trying to generate 3 square brackets at one with the desired 'tab stop' location.

            For i = 1 To bulletRows
                With ListGalleries(wdBulletGallery).ListTemplates(1).ListLevels(1)
                    .NumberFormat = ChrW(61607)
                    .Font.Name = "Wingdings"
                End With
                Selection.Range.ListFormat.ApplyListTemplateWithLevel _
                                ListTemplate:=ListGalleries(wdBulletGallery).ListTemplates(1)
                
                Selection.Paragraphs.TabStops.Add Position:=rulerXpos + 36, Alignment:=wdAlignTabLeft
                
                Selection.MoveDown Extend:=wdExtend
            Next i

  2. #2
    The link appears invalid?
    Graham Mayor - MS MVP (Word) 2002-2019
    Visit my web site for more programming tips and ready made processes
    http://www.gmayor.com

  3. #3
    I've uploaded the image as a forum attachment.

    Unfortunately the forum downsizes the image.
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •