Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
edit the cell contents command in Excel 2007 macro
In Excel 2007, I want to write a macor which edits the cell contnets and goes
to right or left adjacent cell and again eidts the cell contents. Will higly appreciate the suggestion and or s,advice. Thanks. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
edit the cell contents command in Excel 2007 macro
Sub test()
With ActiveSheet.Range("B1") .Value = "middle" .Offset(0, -1).Value = "left" .Offset(0, 1).Value = "right" End With End Sub Gord Dibben MS Excel MVP On Thu, 4 Mar 2010 10:01:01 -0800, Safia wrote: In Excel 2007, I want to write a macor which edits the cell contnets and goes to right or left adjacent cell and again eidts the cell contents. Will higly appreciate the suggestion and or s,advice. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I edit command bar icons in Excel 2007? | Setting up and Configuration of Excel | |||
How do you customize/edit an icon for macro use in Excel 2007? | Excel Discussion (Misc queries) | |||
Edit macro to match entire cell contents | Excel Discussion (Misc queries) | |||
How can I edit cell contents with a macro in Excel? | Excel Discussion (Misc queries) | |||
How can I edit cell contents with a macro in Excel? | Excel Discussion (Misc queries) |