G
Guest
I often have tables in Excel that I use the Chart Wizard to graph in a few clicks. However, if the first column contains numeric values it is treated as a series by the wizard rather than as a data range. Eg. lets say I'm examining the quantities of a certain product in orders placed by customers
Widgets/Order Coun
0 9
1 2
2 2
3 5
4 1
5
Highlighting this range and running the wizard treats both columns as a series. I can manually tell Excel to treat the first column as a range rather than a series but it's a number of extra steps
I've found that if I preceed each of the first columns values with an apostrophie (') Excel treats these cells as text and the wizard will work the way I want by default. I can't find a way other than adding apostrophies to convince Excel that these cells should be treated as text though. The option to format numerics as text in Format Cells does not do this
Is there another way to tell Excel these cells should be treated as text rather than numbers? Ideally I'd like a cell property I can set programatically via OLE Automation
TIA
Widgets/Order Coun
0 9
1 2
2 2
3 5
4 1
5
Highlighting this range and running the wizard treats both columns as a series. I can manually tell Excel to treat the first column as a range rather than a series but it's a number of extra steps
I've found that if I preceed each of the first columns values with an apostrophie (') Excel treats these cells as text and the wizard will work the way I want by default. I can't find a way other than adding apostrophies to convince Excel that these cells should be treated as text though. The option to format numerics as text in Format Cells does not do this
Is there another way to tell Excel these cells should be treated as text rather than numbers? Ideally I'd like a cell property I can set programatically via OLE Automation
TIA