Re: Numbers of minutes in Verizon Wireless phone bill
- From: Fred Holmes <fsh@xxxxxxx>
- Date: Wed, 27 Apr 2005 11:40:43 -0400
OK, Now I'm trying to do the following:
Sub Convert_to_value_3()
Dim c As Cell
For Each c In Selection
With ActiveCell
.Replace Chr(160), ""
.Value = Val(LTrim(ActiveCell.Value))
End With
Next c
End Sub
"Cell" doesn't work as an object type. If I substitute "Range" for
"Cell" the code will process only the first cell in the selected
Range, not all cells in the selected range.
Many thanks for any help.
Fred Holmes
On Wed, 27 Apr 2005 16:10:34 +0100, "Bob Phillips"
<bob.phillips@xxxxxxxxxxxxxxxxxxxx> wrote:
>Fred,
>
>Try this as well
>
> With ActiveCell
> .Replace Chr(160), ""
> .Value = Val(LTrim(ActiveCell.Value))
> End With
.
- Follow-Ups:
- Re: Numbers of minutes in Verizon Wireless phone bill
- From: Ed
- Re: Numbers of minutes in Verizon Wireless phone bill
- From: Bob Phillips
- Re: Numbers of minutes in Verizon Wireless phone bill
- References:
- Numbers of minutes in Verizon Wireless phone bill
- From: Fred Holmes
- Re: Numbers of minutes in Verizon Wireless phone bill
- From: Bob Phillips
- Numbers of minutes in Verizon Wireless phone bill
- Prev by Date: *** Refs in Add-In
- Next by Date: Re: Formulas using multiple { }
- Previous by thread: Re: Numbers of minutes in Verizon Wireless phone bill
- Next by thread: Re: Numbers of minutes in Verizon Wireless phone bill
- Index(es):