Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to format column 7 ?
In VBA, if I have the integer 7, how do I format column 7?
The recorder does Columns("G:G").Select Selection.Numberformat = "blah" Thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to format column 7 ?
Columns(7).NumberFormat = "#.00.00"
-- Gary wrote in message ups.com... In VBA, if I have the integer 7, how do I format column 7? The recorder does Columns("G:G").Select Selection.Numberformat = "blah" Thanks. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to format column 7 ?
Columns(7).Select
Selection.NumberFormat = "#.0" or Columns(7).NumberFormat="#.0" James wrote: In VBA, if I have the integer 7, how do I format column 7? The recorder does Columns("G:G").Select Selection.Numberformat = "blah" Thanks. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to format column 7 ?
Myinteger = 7 Columns(Myinteger).Select Selection.NumberFormat = "Blah" wrote: In VBA, if I have the integer 7, how do I format column 7? The recorder does Columns("G:G").Select Selection.Numberformat = "blah" Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do i change column header from R[1] C format to A1 format? | Excel Discussion (Misc queries) | |||
format cells in one column based on value in another column | New Users to Excel | |||
Format column to link file names in that column | Excel Discussion (Misc queries) | |||
How do I format the A/ B Column to be fixed like numeric column | Excel Worksheet Functions |