Expression for Current Page? Add FaceID values?

C

Cory

Is there a way to denote the currently displayed page?

I am working in Publisher 2002, and I am writing a macro to create a new
preformatted textbox. Since I don't want it to create it on the first page
or whatever and have to go back and get it, I am trying to find a way to tell
VBA to place the shape on the current page.

However, I can't find anything that tells about other values in the .Pages
object than the index number or the ID or anything.

Additionally, I have created a button assigned to a macro that I have
written, but I have not figured out how to determine the FaceID for the
button face I want. I have seen a number of instances in Google searches
that there is a PDF that came with some versions of Office that has the
FaceIDs on it. I would download the addin for the FaceID viewer, but I am
doing all of this on a computer that is not on the Internet and cannot have
any kind of programming code or programs put on it withough extensive (read
"several months of") testing. Anyone know where I can get this PDF? Blank
buttons are not very useful.


Cory
 
E

Ed Bennett

Cory said:
However, I can't find anything that tells about other values in the .Pages
object than the index number or the ID or anything.

Try (Document).ActiveView.ActivePage.
Additionally, I have created a button assigned to a macro that I have
written, but I have not figured out how to determine the FaceID for the
button face I want.

http://ed.mvps.org/Static.aspx?=Publisher/ShowIcon

(It's not a program, it's just a Publisher file with a code snippet in.
If you can't take the Publisher file in on a memory key, then print out
the code and type it into a new Publisher file.)
 
C

Cory

Mr Bennett,

You are what they call "The Man". Thank you very much. you have saved my
day.

Cory
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top