Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Sat, 12 Jul 2008 03:00:00 -0700 (PDT), Jem
wrote: hi to all, I have this data 1234 in cell K27. how to make macro that will add "0 to the beginning: My data is: 1234 That the result will look like this: "01234 Thanks, Lorena try this macro: Sub jem() With ActiveSheet .Cells(27, 11) = """0" & .Cells(27, 11) End With End Sub Hope this helps / Lars-Åke |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
My excel macro recorder no longer shows up when recording macro | Excel Discussion (Misc queries) | |||
Call macro stored in Excel workbook from Outlook's macro | Excel Programming | |||
Need syntax for RUNning a Word macro with an argument, called from an Excel macro | Excel Programming | |||
translate lotus 1-2-3 macro into excel macro using excel 2000 | Excel Programming |