billandrew
Well-known Member
- Joined
- Mar 9, 2014
- Messages
- 743
Hello All
trying to format one range of text to a percentage and a different range to a value. Code I am using below
[TABLE="width: 72"]
<colgroup><col width="72" style="width:54pt"> </colgroup><tbody>[TR]
[TD="width: 72"] Range("D5:G64,L5:O64").Select[/TD]
[/TR]
[TR]
[TD] Selection.NumberFormat = "0.0%"[/TD]
[/TR]
[TR]
[TD] .Value = .Value[/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] Range("H5:K64,P5:S64").Select[/TD]
[/TR]
[TR]
[TD] With Selection[/TD]
[/TR]
[TR]
[TD] Selection.NumberFormat = "General"[/TD]
[/TR]
[TR]
[TD] .Value = .Value[/TD]
[/TR]
</tbody>[/TABLE]
trying to format one range of text to a percentage and a different range to a value. Code I am using below
[TABLE="width: 72"]
<colgroup><col width="72" style="width:54pt"> </colgroup><tbody>[TR]
[TD="width: 72"] Range("D5:G64,L5:O64").Select[/TD]
[/TR]
[TR]
[TD] Selection.NumberFormat = "0.0%"[/TD]
[/TR]
[TR]
[TD] .Value = .Value[/TD]
[/TR]
[TR]
[TD] [/TD]
[/TR]
[TR]
[TD] Range("H5:K64,P5:S64").Select[/TD]
[/TR]
[TR]
[TD] With Selection[/TD]
[/TR]
[TR]
[TD] Selection.NumberFormat = "General"[/TD]
[/TR]
[TR]
[TD] .Value = .Value[/TD]
[/TR]
</tbody>[/TABLE]