Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Adding a 0 in front of a column of numbers

Hello All
I need a script to add a 0 infront of a column of numbers that are in text
format.

Thanks Scott


  #2   Report Post  
Posted to microsoft.public.excel.programming
Ian Ian is offline
external usenet poster
 
Posts: 238
Default Adding a 0 in front of a column of numbers

Sub addzero()
For r = 1 To 100
Cells(r, "A").Value = "0" & Cells(r, "A").Value
Next r
End Sub


--
Ian
--
"scasawyer" wrote in message
...
Hello All
I need a script to add a 0 infront of a column of numbers that are in text
format.

Thanks Scott



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I markup a column of numbers without adding a column? Afreshb Excel Worksheet Functions 4 February 2nd 10 08:48 PM
Adding a zero to the front of numbers Connie Martin Excel Worksheet Functions 5 May 8th 09 04:37 PM
need help in adding a ' in front of a column of numbers noreaster New Users to Excel 4 September 14th 08 03:54 PM
adding numbers from column B, while condition on column A The Fool on the Hill Excel Discussion (Misc queries) 4 February 1st 07 01:34 PM
adding digits to front/end of fax numbers Luke Excel Discussion (Misc queries) 2 April 27th 05 11:35 PM


All times are GMT +1. The time now is 05:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"