Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Programming / February 2007

Tip: Looking for answers? Try searching our database.

Expression for Current Page? Add FaceID values?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cory - 06 Feb 2007 19:39 GMT
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
Ed Bennett - 07 Feb 2007 10:33 GMT
> 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.)

Signature

Ed Bennett - MVP Microsoft Publisher
http://ed.mvps.org

Cory - 07 Feb 2007 13:13 GMT
Mr Bennett,

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

Cory

> > However, I can't find anything that tells about other values in the .Pages
> > object than the index number or the ID or anything.  
[quoted text clipped - 10 lines]
> 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.)

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.