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 Westi 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. Smedowns

    How to retrieve heading value?

    I want to retrieve the heading that the active range is located in. For instance if I highlight a word under heading "3.2.1 Conclusions", I want a macro to assign "3.2.1 Conclusions" to a variable. Thanks, Smed
  2. Smedowns

    storing references in array problems

    fumei, When I make an example similar to what you describe, it works fine, but if I add a table with caption "Table" before the 3 figures, the code gets stuck in the while loop.
  3. Smedowns

    storing references in array problems

    fumei, This code gets stuck in an infinite loop. The value of r never changes from the name of the first table.
  4. Smedowns

    storing references in array problems

    I'm not sure I understand what you mean. How can I check if they are referenced aside from them not showing up in my listbox?
  5. Smedowns

    storing references in array problems

    This still causes c to equal 44 when I step through the code and 8 when I run the code. I'm using word 2003 but this is how the figures are being defined: With CaptionLabels("Figure") .NumberStyle = wdCaptionNumberStyleArabic .IncludeChapterNumber = True...
  6. Smedowns

    storing references in array problems

    Hi, i'm trying to create a listbox that holds all "Figure" cross references in it. The problem is that when I run the following code, it will only store a maximum of 8 figures. The strange thing is that if I step through the code line by line, it will store all 44 figures. I can't figure out why...

Part and Inventory Search

Back
Top