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
Backup of first storage group fails
Crosstab Query To Excel - Number Format
Gridview get textbox value onselectedindexchanged
MS Access 2007 -- Using Like with Left Join
Find all records that don't exist n a table
xml to array
System DSN doesn't show in Excel
Accessing an FTP server internally that is on a different subnet.
What is a document library
Display a form within a Panel. How to hide caption bar?