Alter ribbon button label on the fly?

  • Thread starter Thread starter XP
  • Start date Start date
X

XP

I have a custom ribbon with a date button, a Fund dropdown, and an import
button.

When the user clicks the "Date" button, I have an input box open in which
the user enters a date (the date is validated using VBA under the covers). I
would like the date entered by the user to then appear in the label of the
"Date" button. So when a date has been selected, the "Date" button will
appear as: Date: 04-28-2008

Can this be done? If so, could someone please post generic example code that
does it?

FYI, the next step will be to capture the date stored in the label (right
10) and run an import based on that date and the selected Fund selected in
the dropdown.

Thanks much in advance.
 
If you are referring to Excel 2007, it can't be done yet. Whether it will in
future is debatable, but not now.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
You should use Outlook Express or another real newsreader. The attachment is
right there. Web interfaces block it I gather.

If you send me an email I'll send it to you. jrrechAThotmail.com
 

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