Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
how do I calculate number of characters that will fit in a cell
I have a spreadsheet that will be printed onto a preprinted form. I need to
calculate the value in a cell and then pad that cell with repeating hyphens to fille out the remainder. How can I determine how many hyphens I need to generate? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
how do I calculate number of characters that will fit in a cell
How about using a custom format:
General*-;-General*-;0*-;@*- You can use your favorite numberformats in that string. It's Positive;negative;zero;text the * tells excel to fill out the cell with the next character. Larry wrote: I have a spreadsheet that will be printed onto a preprinted form. I need to calculate the value in a cell and then pad that cell with repeating hyphens to fille out the remainder. How can I determine how many hyphens I need to generate? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I need to have a certain number of characters in a cell | Excel Discussion (Misc queries) | |||
number of characters in each cell | Excel Discussion (Misc queries) | |||
Keep specified number of characters at end of cell? | Excel Worksheet Functions | |||
calculate the sum of characters in a cell | Excel Worksheet Functions | |||
calculate the sum of characters in a cell | Excel Discussion (Misc queries) |