Custom dat & time code

  • Thread starter Thread starter Wuddus
  • Start date Start date
W

Wuddus

Does anyone know if it's possible write a custom cell-format code that
would look like the one Excel provides (mm/dd hh:mm AM/PM) but sets the
time in red? I've tried "mm/dd [RED]hh:mm AM/PM," but whenever I save it,
Excel moves the red bracket to the beginning of the code so the whole thing
is red. Help! Any ideas?
 
I don't think you can.

You can't format formulas like this (character by character).

And you can't format numbers this way, either.

(Anyway, I couldn't do it.)


Does anyone know if it's possible write a custom cell-format code that
would look like the one Excel provides (mm/dd hh:mm AM/PM) but sets the
time in red? I've tried "mm/dd [RED]hh:mm AM/PM," but whenever I save it,
Excel moves the red bracket to the beginning of the code so the whole thing
is red. Help! Any ideas?
 

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