ª
ªü¤T
all asterisk which has placed unevenly in the same column of cells by
formulas?
e.g. [ '12345678 ] change to [ 12345678 ]
formulas?
e.g. [ '12345678 ] change to [ 12345678 ]
Tushar Mehta said:Edit | Replace...
--
Regards,
Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
says...all asterisk which has placed unevenly in the same column of cells by
formulas?
e.g. [ '12345678 ] change to [ 12345678 ]
Tom Ogilvy said:Dim cell as Range
for each cell in selection
if not cell.HasFormula then
cell.formula = cell.Value
end if
Next
--
Regards,
Tom Ogilvy
ªü¤T said:all asterisk which has placed unevenly in the same column of cells by
formulas?
e.g. [ '12345678 ] change to [ 12345678 ]
Frank Kabel said:Hi
try something like
sub foo()
with activesheet.range("A1:A100")
.numberformat="0"
.value=.value
end with
end sub-----Original Message-----
all asterisk which has placed unevenly in the same column of cells by
formulas?
e.g. [ '12345678 ] change to [ 12345678 ]
.
ªü¤T said:Great, its work! Many thanks.
Frank Kabel said:Hi
try something like
sub foo()
with activesheet.range("A1:A100")
.numberformat="0"
.value=.value
end with
end sub-----Original Message-----
all asterisk which has placed unevenly in the same column of cells by
formulas?
e.g. [ '12345678 ] change to [ 12345678 ]
.
Tom Ogilvy said:The functionality of Frank's code is identical to mine - yet you imply that
mine does not work and his does.
Did you bother to try mine? Why the negative response?
Is the difference that you don't know how to add the sub declaration at the
start and the End Sub statement on the End.
Just interested in understanding what prevented you from using the solution
provided - your own ineptitude or was there some technical problem?
--
Regards,
Tom Ogilvy
ªü¤T said:Great, its work! Many thanks.
Frank Kabel said:Hi
try something like
sub foo()
with activesheet.range("A1:A100")
.numberformat="0"
.value=.value
end with
end sub
-----Original Message-----
all asterisk which has placed unevenly in the same column
of cells by
formulas?
e.g. [ '12345678 ] change to [ 12345678 ]
.
Tom Ogilvy said:The functionality of Frank's code is identical to mine - yet you imply that
mine does not work and his does.
Did you bother to try mine? Why the negative response?
Is the difference that you don't know how to add the sub declaration at the
start and the End Sub statement on the End.
Just interested in understanding what prevented you from using the solution
provided - your own ineptitude or was there some technical problem?
--
Regards,
Tom Ogilvy
ªü¤T said:Great, its work! Many thanks.
Frank Kabel said:Hi
try something like
sub foo()
with activesheet.range("A1:A100")
.numberformat="0"
.value=.value
end with
end sub
-----Original Message-----
all asterisk which has placed unevenly in the same column
of cells by
formulas?
e.g. [ '12345678 ] change to [ 12345678 ]
.
ApparentlyDid I miss something? I am using Win2000 & Excel 2000
cell.Value does remove the ', it is never executed.AA2e72E said:I had a similar problem i.e. numbers with prefix ' causing the column to be left aligned.
cell.HasFormula for such cells returns FALSE. Therefore, although
values.
ªü¤T said:I have tried both but I think your macro is trying to turn formulas to
values.
My problem is just to remove the ' in front of numbers only.
Really thanks to you and I will keep this macro program for my future
problems.
Regards
Tom Ogilvy said:The functionality of Frank's code is identical to mine - yet you imply that
mine does not work and his does.
Did you bother to try mine? Why the negative response?
Is the difference that you don't know how to add the sub declaration at the
start and the End Sub statement on the End.
Just interested in understanding what prevented you from using the solution
provided - your own ineptitude or was there some technical problem?
--
Regards,
Tom Ogilvy
ªü¤T said:Great, its work! Many thanks.
"Frank Kabel" <[email protected]> ¼¶¼g©ó¶l¥ó·s»D
:[email protected]...
Hi
try something like
sub foo()
with activesheet.range("A1:A100")
.numberformat="0"
.value=.value
end with
end sub
-----Original Message-----
all asterisk which has placed unevenly in the same column
of cells by
formulas?
e.g. [ '12345678 ] change to [ 12345678 ]
.