Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi Patrick Thanks for giving me the formula to add 99 before the digit its working perfectly but i could not make use of the code which you hav esuggested, i have inserted the code by right clicking the sheet1- viewcode and pasted the code but i could not able to run the macro. So please help as im new to excel. The code is: dim cell as range dim text as string set cell = range("A1") do until isempty(cell) text = cell.value cell.value = LEFT("990000000000",12 - len(text) ) & text set cell = cell.offset(1) loop -- Raja ------------------------------------------------------------------------ Raja's Profile: http://www.thecodecage.com/forumz/member.php?userid=497 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=115089 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
How can I modify my code to offset the defined range and repeat theprocedure instead of duplicating my code? | Excel Programming | |||
Shorten code to apply to all sheets except a few, instead of individually naming them, and later adding to code. | Excel Programming | |||
Protect Sheet with code, but then code will not Paste error. How do i get around this. Please read for explainations.... | Excel Programming | |||
Excel code convert to Access code - Concat & eliminate duplicates | Excel Programming |