Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
code help
I need to Wrap an existing formularized Cell with the Function =VALUE()
using a VBA Statement. The below is not quite working . Can someone assist me in getting the proper syntax to get it going??? Tks in Advance.. Jim May Sub Macro5() ' ' Macro5 Macro ' Macro recorded 6/29/2006 by Jim May 'Step 1: ActiveCell.Formula = Application.WorksheetFunction.Substitute(ActiveCel l.Formula, "=", "$") 'Step 2: ActiveCell.Formula = Application.WorksheetFunction.Substitute(ActiveCel l.Formula, "$", "=VALUE("" &") End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
Drop Down/List w/Code and Definition, only code entered when selec | Excel Worksheet Functions | |||
How to make a button VBA code reference other VBA code subroutines??? | Excel Programming | |||
stubborn Excel crash when editing code with code, one solution | Excel Programming | |||
option buttons run Click code when value is changed via VBA code | Excel Programming |