×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Cell Formating

Cell Formating

Cell Formating

(OP)
I wish to enter and show cells in HEX format.
peferably 0xA4, 0x07, 0x3C, etc.
Also I want to be able to auto fill cells when starting a string 1,2,3,...
In short replace DEC with HEX.

ANY IDEAS?
Thanks

RE: Cell Formating

With dec2hex function it is easy.

Either create your 1,2,3,4,5,6,7,8,9,10,11 etc in column A and use dec2hex in column B

OR...

Put dec2hex(row(A1)) in cell A1 and copy it down column A

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

RE: Cell Formating

(OP)
Thanks but not quite what I need. I can't deal with that for an entire workbook, 36 pages so far.
I use Hex numbers everywhere on the sheets and need to switch the cell formatting like I would from Number to Currency.
I need a Format/Cells/Number/'Base'/'Hex'/'1 byte' function added to the Format Cells dialog box.

Any other ideas?

RE: Cell Formating

Hi
Its always better to use VBA to do the repetitive task
You can just write a subroutine (you can use Hex function of VBA to convert decimal to hex)
and Run it for the selected cells (any range)

 

Instruite
--------------------------------------
Ideas that works
Concepts that sells
--------------------------------------

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources