change caption of page

  • Thread starter Thread starter cableguy47905 via AccessMonster.com
  • Start date Start date
C

cableguy47905 via AccessMonster.com

I would like to change the caption of a page by using VBA. I have read many
articles about changing the color, but not the actual caption.
Can anyone help with this?

TIA,
Lee
 
I assume when you say page you mean Form. If so try

Me.Caption = "whatever" 'Current form

Forms![FormName].Caption = "whatever" 'to change another form's caption
 
I kind of assumed when he said "page" he meant "page!" Maybe not, but if he
does, it's simply

ActualPageName.Caption = "Whatever you want!"

or simply click to select the page, then goto Properties - Format and enter
it in the Caption properties box.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
 
That was way too simple. Thanks. I must have been mistyping my page name
all those times because it wouldn't accept it and I began to doubt what I was
doing.

Thanks for the reassurance.
 

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

Back
Top