home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.apps
- Path: sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!newsserver.technet.sg!nuscc!nusunix3.nus.sg!eng10056
- From: eng10056@nusunix1.nus.sg (LAU YIN CHENG)
- Subject: AMIPRO - Macros, Problems
- Message-ID: <1993Jan2.015408.3699@nuscc.nus.sg>
- Sender: usenet@nuscc.nus.sg
- Organization: National University of Singapore
- X-Newsreader: TIN [version 1.1 PL6]
- Date: Sat, 2 Jan 1993 01:54:08 GMT
- Lines: 49
-
-
-
-
- Hello there everyone.
-
- I have been facing difficulty in constructing a macro to number a figure
- and assgn a bookmark to it.
-
- I am only able to write a macro to number a figure.
-
- As for assigning a bookmark to the figure number so that I can
- cross-reference it, I have to do it manually.
-
- Below is an example of what I want to accomplish.
-
-
- ....Figure <GetBookMark electr) was drawn on the .....
- ....
-
-
-
-
- Figure <<Seq Figure %N1>> Electrode configurations
- ^
- /
- /
- /
- /
- The bookmark 'electr' encloses the Powerfield <Seq Figure %N1> so that
- the figure number can be reference in the text as shown by using the
- power field <GetBookMark electr>.
-
-
- Below is a listing of what I have done so far.
-
- FUNXTION NUMFIG1()
- SetStyle("figure )
- FieldAdd("Seq Figure %N1" )
- Type(" ")
- FieldAdd("Query$(""Enter Figure name"")")
- END FUNCTION
-
-
- Anybody got any suggestions and advice? Please Help
- Thanks in Advance
-
-
-
- Lau Yin Cheng
-