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
Translate web site
Visual Basic.Net Question on Checking a field if Numeric Data entered
Installing PHP XP (IIS 5.1)
PL/SQL Performance
Acer Aspire One internal speakers not working
Outlook hyperlinks take me to my homepage (not the actual link url
How do I have a field displayed in a report for all data options except one
Making a movie project into a DVD file in Windows 7. How do I burn copies in Vista?
using Task.IsCompleted
Suggestions for Cicso NM modules for LRE setup