Excel will not allow me to change alignment

Z

zalcjm

I have a worksheet in which Excel does not allow me to change the
alignment of a range of cells from, say, left-justified to centered.

I am experienced with Excel/VBA and have not seen this before. The
cells are not protected and do contain numerical data. If I add a
leading apostrophe to the cell values to have them treated as strings,
I can then align the cells however I like. When those cells contain
numerical data, Excel will not allow me to change the alignment from
left-justified, regardless of whether I use a toolbar, the Format tab,
or VBA.

Any ideas?
 
G

Guest

If there is not a lot of information in the workbook, try copying the data
(EDIT | COPY,PASTE) to another workbook and see of that helps.
 
H

HS Hartkamp

I think I saw a similar thing when the cell format had a specific
numerical-formatting. Could this be the case ? (if so, try formatting them
as 'standard'.)

Bas Hartkamp
 

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

Top