• WSfrankpasztor

    WSfrankpasztor

    @wsfrankpasztor

    Viewing 15 replies - 1 through 15 (of 77 total)
    Author
    Replies
    • Boy was I on the wrong track! Thanks Hans.

    • in reply to: Dual-monitors and Word (2002) #1045736

      I’ve got dual monitors and have had no problems whatsoever, they act as one large desktop. Perhaps your video card is the problem. Could your system be trying to open Word in BOTH the monitors (as if each was a normal single monitor)?

    • in reply to: API calls from VBA (Word 2003) #1038527

      You are a Wise, hands on kinda guy.
      I’m going to try that out thanks.

    • in reply to: API calls from VBA (Word 2003) #1038496

      I was using the following API call;

      Public Declare Function SetTimer Lib “user32” ( _
      ByVal hwnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long

      and the trigger event;
      SetTimer 0, 0&, 100&, AddressOf mTimer

      Becouse I don’t know how to get the windows handle from VBA I used 0 as the first parameter. The result was that I could create the timer and use it, but I couldn’t kill it when I was finished. OK if you only have one or two rogue timers running but eventually ya gotta reboot.

    • in reply to: Publication Template (2003) #977013

      Have you looked at Microsoft OneNote? Its really at its best on a tablet PC but for jotting down ideas and then organising them it does beat a more structured product like Word.

    • in reply to: Numbered style restart numbering (Word XP) #977011

      Use outline numbering, make the style that triggers renumbering a level 1.

    • in reply to: Sreentips – on my custom toolbars how do i edit? #946726

      Controls(NumericIndex). is the easiest way to access a control becouse its a straight 1 based index.
      First control is 1 etc.

    • in reply to: FrameMaker VB6/Scripting (VB6) #927094

      Thanks for the reply Gray,

      I’m hitting Google, and every other source that I can think of. Info from Mekon (& everywhere else for that matter is pretty thin). I was hoping to find code samples but I guess that was too much to hope for.

      Anyway, you never know what you can find if you don’t look. Again thanks for your reply.

    • in reply to: How to Lower characters in equations (Word 2000 SR 1) #920788

      I’m not sure wether this is what you’re after or not but you can use the EQ field to displace/overwrite characters.
      Judith M{ EQ S©}Name would give you a superscript and you can format this character separately.
      Similarly { EQ o(

    • in reply to: How to Lower characters in equations (Word 2000 SR 1) #920789

      I’m not sure wether this is what you’re after or not but you can use the EQ field to displace/overwrite characters.
      Judith M{ EQ S©}Name would give you a superscript and you can format this character separately.
      Similarly { EQ o(

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

      Granted that its probably better not to have code run by the document, but what about putting the code in the Document_Open procedure of the documents ThisDocument module?

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

      Granted that its probably better not to have code run by the document, but what about putting the code in the Document_Open procedure of the documents ThisDocument module?

    • in reply to: Apply Template to Existing Document (Word 2002 SP3) #898346

      Zara,

      That depends on the structure of the documents and how deep into VBA you’re willing to go. I’ve automated a similar problem but across
      multiple variants of several templates. Things can get very complicated very quickly if you try automating everything, including stuff that
      you should have left alone.

      If the existing documents are based around paragraph styles and you can do everything you need using Find & Replace
      then you could automate a lot of it by recording macros and connecting these to a toolbar.

      If there’s no structure (ie everything is in Normal style with individual paragraphs having the font and size altered) then you
      will be in for a fair amount of grief trying to automate the conversion unless your proficient in VBA. But at the least the process of
      Attaching the doc to its new template and copying over the new styles can be done without too much drama.

      Could you supply anymore info on just what you need to do? And which version/s of Word you are using.

    • in reply to: Apply Template to Existing Document (Word 2002 SP3) #898347

      Zara,

      That depends on the structure of the documents and how deep into VBA you’re willing to go. I’ve automated a similar problem but across
      multiple variants of several templates. Things can get very complicated very quickly if you try automating everything, including stuff that
      you should have left alone.

      If the existing documents are based around paragraph styles and you can do everything you need using Find & Replace
      then you could automate a lot of it by recording macros and connecting these to a toolbar.

      If there’s no structure (ie everything is in Normal style with individual paragraphs having the font and size altered) then you
      will be in for a fair amount of grief trying to automate the conversion unless your proficient in VBA. But at the least the process of
      Attaching the doc to its new template and copying over the new styles can be done without too much drama.

      Could you supply anymore info on just what you need to do? And which version/s of Word you are using.

    • in reply to: Find (not) styles (2002) #880361

      I guess this response falls into the whatever category.

      The attachment is a Word doc that carries a module that ‘colours’ documents. The background of it was a conversion /translation utility that
      cycled thro’ a docs paragraphs and changed the background color. This resulted in a starting document that was evenly coloured.

      As the translator ran it again cycled through the doc para by para, a successful conversion reset the paras color to auto, errors where then represented
      by other colors. The end result was a document where process used/failed/success where all clearly visible. This allowed users to carry out conversions
      over a number of sessions.

      And all without having to generate INI files to keep track of everything. Anyway, this module has a test sub that I hope is pretty self explanitory.
      It can either shade paras that contain a specified style or Not, It then has another function that carries out some action based on a paras colour.

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