• WSJCSolutions

    WSJCSolutions

    @wsjcsolutions

    Viewing 15 replies - 1 through 15 (of 56 total)
    Author
    Replies
    • in reply to: Update fields after closing Header (Office 2003 Word) #1046885

      Perfect. Tks alot.

    • in reply to: 2 paragraph styles in same paragraph (Word XP) #1015512

      Hi Henrik,
      I work in a lawyers office and we use it for legal documents that go like this:
      1.2 Lease Duration. The lease duration should not exceed…….
      Only the 1.2 and Lease Duration is in bold and picked up by the ToC. The rest of the paragraph is in normal text.
      At my new job, I came upon a doc like that and was curious on how this was achieved.
      Thanks to Hans for his enlightment.

    • in reply to: Shortcut key and macros (Office 2003) #998350

      Perfect. Tks Hans.
      jc

    • in reply to: If (B3 contains ‘text’) (Office 2003) #990723

      Perfect. Thanks Hans.

    • in reply to: Toolbar dissapears after mail merge (Word 2003) #977193

      Hi gang,
      Let me answer my own post.
      I closed the document then re-opened it to see the toolbar appear.
      Wonder what happened. Might be just screen refresh.
      Any clue?
      tks

    • in reply to: Creating code in a .doc (Word 2000-97 PC-MAC) #910043

      Hi Andrew,
      Tks for the tip. The workgroup template seems like the logical approach. However, there are dozens of templates and they are separated in different sub folders in the user and/or workgroup templates location. If I put all the templates in a de fault folder it will make it more difficult for the user to find the right template when creating a new doc. By adding code to every new file created with a specific template I can specify the sub-folder in which this template is located.
      Would there be a better way of doing this?
      Tks

    • in reply to: Creating code in a .doc (Word 2000-97 PC-MAC) #910044

      Hi Andrew,
      Tks for the tip. The workgroup template seems like the logical approach. However, there are dozens of templates and they are separated in different sub folders in the user and/or workgroup templates location. If I put all the templates in a de fault folder it will make it more difficult for the user to find the right template when creating a new doc. By adding code to every new file created with a specific template I can specify the sub-folder in which this template is located.
      Would there be a better way of doing this?
      Tks

    • in reply to: adding a line in a footer (office 2000) #892638

      This worked just fine. Tks alot.
      jc

    • in reply to: adding a line in a footer (office 2000) #892639

      This worked just fine. Tks alot.
      jc

    • in reply to: screenupdating false = range? (Office 2000) #892619

      OK that’s weird. Just before posting the code to you I decided to tiddy up the code a bit and I nested a With End With just so my code would look better and it works just fine now. I don’t understand but it works.
      Here is what I had.

      Application.ScreenUpdating = False
      Selection.Style = ActiveDocument.Styles(“Heading 1”)
      Set T1Range = Selection.Paragraphs(1).Range
      Set T1Line = ActiveDocument.Shapes.AddLine(96#, 256.5, 554.25, 256.5, T1Range)
      With T1Line.Line
      .Weight = 1.5
      .DashStyle = msoLineSolid
      .Style = msoLineSingle
      ‘ . . . etc.
      End With
      With T1Line
      .Height = 0#
      .Width = InchesToPoints(6.14)
      ‘. . . etc.
      End With
      Application.ScreenUpdating = True

      Here is what I changed it for

      Application.ScreenUpdating = False
      Selection.Style = ActiveDocument.Styles(“Heading 1”)
      Set T1Range = Selection.Paragraphs(1).Range
      Set T1Line = ActiveDocument.Shapes.AddLine(96#, 256.5, 554.25, 256.5, T1Range)
      With T1Line
      .Height = 0#
      .Width = InchesToPoints(6.14)
      ‘. . . etc.
      With .Line
      .Weight = 1.5
      .DashStyle = msoLineSolid
      ‘ . . . etc.
      End With
      End With
      Application.ScreenUpdating = True

      Works just fine now. I just cleaned up before the cleaning lady came. smile Tks.

    • in reply to: screenupdating false = range? (Office 2000) #892618

      OK that’s weird. Just before posting the code to you I decided to tiddy up the code a bit and I nested a With End With just so my code would look better and it works just fine now. I don’t understand but it works.
      Here is what I had.

      Application.ScreenUpdating = False
      Selection.Style = ActiveDocument.Styles(“Heading 1”)
      Set T1Range = Selection.Paragraphs(1).Range
      Set T1Line = ActiveDocument.Shapes.AddLine(96#, 256.5, 554.25, 256.5, T1Range)
      With T1Line.Line
      .Weight = 1.5
      .DashStyle = msoLineSolid
      .Style = msoLineSingle
      ‘ . . . etc.
      End With
      With T1Line
      .Height = 0#
      .Width = InchesToPoints(6.14)
      ‘. . . etc.
      End With
      Application.ScreenUpdating = True

      Here is what I changed it for

      Application.ScreenUpdating = False
      Selection.Style = ActiveDocument.Styles(“Heading 1”)
      Set T1Range = Selection.Paragraphs(1).Range
      Set T1Line = ActiveDocument.Shapes.AddLine(96#, 256.5, 554.25, 256.5, T1Range)
      With T1Line
      .Height = 0#
      .Width = InchesToPoints(6.14)
      ‘. . . etc.
      With .Line
      .Weight = 1.5
      .DashStyle = msoLineSolid
      ‘ . . . etc.
      End With
      End With
      Application.ScreenUpdating = True

      Works just fine now. I just cleaned up before the cleaning lady came. smile Tks.

    • in reply to: adding a line in a footer (office 2000) #892419

      Yep, I thought of the paragraph border in the style but this template will end up on a Mac that uses Word 98 and there is a very limited choice of color for paragraph borders in Word 98. I think I will just let it go for now and when they upgrade the software I will put a paragraph border with the right color.

      tks alot.

    • in reply to: adding a line in a footer (office 2000) #892420

      Yep, I thought of the paragraph border in the style but this template will end up on a Mac that uses Word 98 and there is a very limited choice of color for paragraph borders in Word 98. I think I will just let it go for now and when they upgrade the software I will put a paragraph border with the right color.

      tks alot.

    • in reply to: adding a line in a footer (office 2000) #892387

      Tks. That was me yesterday. I managed to put a field into the footer now I want a graphic line. Can’t seem to find the right code for it.
      Set Line = activedocument.shapes.addline won’t work because I am in a range and
      Set Line = .range.shapes.addline won’t work either. My VBA knowledge is very limited. Could you help please.
      tks.

    • in reply to: adding a line in a footer (office 2000) #892388

      Tks. That was me yesterday. I managed to put a field into the footer now I want a graphic line. Can’t seem to find the right code for it.
      Set Line = activedocument.shapes.addline won’t work because I am in a range and
      Set Line = .range.shapes.addline won’t work either. My VBA knowledge is very limited. Could you help please.
      tks.

    Viewing 15 replies - 1 through 15 (of 56 total)