Microsoft
Software
Hardware
Network
Question : Pound Symbol on Export to Excel, Access
Hi,
I have the below code which exports an Access table to Excel.
I am looking for code which can make column b, f, g & h export with Pound symbols
With oWS
FormulaRow = .Cells(.Rows.Count, "b").End(-4162).Row + 2 'xlUp
.Cells.Font.Size = 10
.Rows(1).Font.Bold = True
.UsedRange.EntireColumn.Au
toFit
.range("b:h").NumberFormat
= "0.00%;[Red]0.00%"
.range("b:h").NumberFormat
= "#,##0.00;[Red]#,##0.00"
.range("c:e").Style = "Percent"
End With
Thanks
Seamus
Answer : Pound Symbol on Export to Excel, Access
.range("b:h").NumberFormat
= "£#,##0.00;[Red]£#,##0.00"
Gary
Random Solutions
Determining Size of Disks for Exchange 2010 Migration
Trying to use recovery storage group to restore exchange database
transfering a directory with multiple files in parallel
Blackberry Printing
Any software that can send files over the Internet with drag and drop?
Excel Interop: Find cell by name
FAXCOOLWAREZ037 192.168.1.38 00-1A-73-C3-39-8A
IE error only, object doesn't support this property or method
ASA 5505 DMZ won't Access Internet
Trim() in JavaScript using Regular Expression