ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Format (https://www.excelbanter.com/excel-programming/429863-format.html)

Basta1980

Format
 
Hi all,

I guess this is really just a small thing but I can't figure it out;

In Column A there's a list of numbers (9 characters long). In our company we
use a system which requires these numbers to be preceded by 2 zero's. I
reckon writing a code with copy and paste is the moste obvious but I want, if
possible, a smarter piece of code.

Any suggestions,

Thnx

Basta1980

Sam Wilson

Format
 
You could change the format of the cells.

Format/Cells/Custom and then type "00000000000" (11 zeroes) in the "Type" box.


"Basta1980" wrote:

Hi all,

I guess this is really just a small thing but I can't figure it out;

In Column A there's a list of numbers (9 characters long). In our company we
use a system which requires these numbers to be preceded by 2 zero's. I
reckon writing a code with copy and paste is the moste obvious but I want, if
possible, a smarter piece of code.

Any suggestions,

Thnx

Basta1980



All times are GMT +1. The time now is 02:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com