Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Walipala

    In Word 2003 -- setting a table heading to repeat?

    Thanks. I'm a tech writer---with still a lot to learn---working with a bunch of engineers. They may know Linux inside and out, but MS Word is Greek. To them a template is just a generalized Word document that keeps getting saved-as on and on. By the way, speaking of Word this particular...
  2. Walipala

    In Word 2003 -- setting doc view to 100%, externally?

    Great, thanks. I believe I can work that into another process that's had me frustrated. I discovered that I cannot create and save custom document properties either. I have a macro that creates them, saves, and closes the doc. But when I would reopen the document the new properties are no longer...
  3. Walipala

    In Word 2003 -- setting a table heading to repeat?

    Thanks Gerry. Assigning 'headingness' to the wrong row isn't an issue in my case. My macro actually looks for the next occurance of a "tableheading" style, which only exists in the first row of each table anyway. It then does its thing and then jumps down a row. It's become apparent to me that...
  4. Walipala

    In Word 2003 -- setting doc view to 100%, externally?

    Yes Tony, even when I do it with a single document my view-percentage is not saved... if that's ALL I do. If however, I make another change to the doc, even something as lame as adding a space somewhere, then saving the doc, then removing the space again, then saving again and closing, the new...
  5. Walipala

    In Word 2003 -- setting doc view to 100%, externally?

    I would like to set a directory full of Word 2003 docs to view at 100% when opened the next time around. Is this a property that can be set all by itself? I have noticed that when I just do this alone, either manually or by running the following code in a macro, the property does not 'take'...
  6. Walipala

    In Word 2003 -- setting a table heading to repeat?

    Thanks. I knew it had to be something incredibly simple. BTW, my first attempt to do this was by recording the steps in a macro using the drop-down menu, but that only seems to toggle the property: Selection.Rows.HeadingFormat = wdToggle ...which isn't satisfactory since some of my tables...
  7. Walipala

    In Word 2003 -- setting a table heading to repeat?

    ... that is, to repeat on following pages. Does anyone have the VBA statement for setting this property to "true" for the selected heading/row? Thanks.
  8. Walipala

    Word 2003 -- custom doc property question

    Well I'll be... Thanks for pointing out that should-have-been-obvious lil' detail. And thanks again to PHV for originally providing it. (This is what happens when I try to do this kind of stuff at work.)
  9. Walipala

    Word 2003 -- custom doc property question

    Well, I was doing it manually because I don't know how to code it. Manually it works fine. I can type Alt+8211 and an en-dash appears in the Properties window. I can then insert a field linked to that property and the en-dash appears just fine. What I really want to do is have a macro that...
  10. Walipala

    Word 2003 -- custom doc property question

    Well... I was just doing the creating and field insertion manually, to see what would appear. If I were to code it, it would look something like this (please don't laugh): To create the custom property and assign it the value provided above: Dim nDash As String nDash = "ChrW(&H2013)"...
  11. Walipala

    Word 2003 -- custom doc property question

    Maybe there's more to that then meets the eye. Putting that in the "text" value field for the custom property just means that "ChrW(&H2013)" appears in the document when a field is added.
  12. Walipala

    Word 2003 -- custom doc property question

    Hi again folks. I don't know if this is specifically a VBA question, though I'll be using VBA to implement it. I want to create a custom document property, say "modeNo", with the value being an en-dash. This isn't something I can just type in though. En-dash does have a unicode value, U+2013 or...
  13. Walipala

    Determining if cursor is in last section of a doc?

    Yep. I tried them both. Seems there's always an easier way. Thanks again.
  14. Walipala

    Determining if cursor is in last section of a doc?

    Quick follow-up: I just ran the above macro on a Word doc that has about 30 section breaks. It worked great---did everything it was supposed to and quit when it finished. Thanks for the help.
  15. Walipala

    Determining if cursor is in last section of a doc?

    Hi Gerry. (And thanks Tony!) It doesn't really matter where in the last section. What I want is a Do-While loop that marches though each section of a doc and performs a task. It then determines if the current section is the FINAL section and if so, a flag is switched that will cause the loop to...
  16. Walipala

    VBA statement to determine if current location is in a table?

    Thanks for the thorough reply Gerry, and sorry for the late response. I'm trying to get in the habit of trimming the fat from these macros.
  17. Walipala

    Determining if cursor is in last section of a doc?

    Hi folks. Is there a VBA expression (returning a boolean maybe) that will determine if the cursor resides in the last section of a Word (2003) document? As far as usage goes, I'm looking for something roughly similar to: If thisLocation.isInLastSection = True Then Do stuff... End If
  18. Walipala

    VBA statement to determine if current location is in a table?

    Thanks again. Wow. You can sure cut out a lot of overhead if you know what you are doing and can just program how you want things to be, coding from the bottom up. I wish I was better at VBA. As a tech writer I guess I should be, but I've gotten away using macros only to do little tasks like...
  19. Walipala

    VBA statement to determine if current location is in a table?

    Thanks Gerry. Actually I didn't really do that deliberately. I just recorded those macro steps via the keystrokes: Alt-A --> D --> T I guess when you do that it builds in the SELECT for you. Thanks for the tip though.

Part and Inventory Search

Back
Top