change cell from num/percent to text

deft1

New Member
Joined
Jul 16, 2007
Messages
6
I am trying to create a app that at some point is going to have to read the character information inside a cell a character at a time. This is so i can keep all of the formatting data. bold/italic/etc.. iv come across the problem that if the cell is a number or percentage then the whole cell.characters(start,length).whatever thing will not work. how would i go about converting the cells to text format but keeping them looking the same. inorder that i can harvest their formatting character by character. Thanks in advance if anyone can help me. using vb6 btw so a vba fix is likely close enough to understand
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

deft1

New Member
Joined
Jul 16, 2007
Messages
6
ok realised that is stupid, if they are stored as percentages or numbers then they wont have any formatting anyways.
 
Upvote 0

Forum statistics

Threads
1,191,312
Messages
5,985,924
Members
439,988
Latest member
JDayco

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top