Microsoft
Software
Hardware
Network
Question : Access Export Formatting
Hi,
I have teh following code which i am using to export an access table to excel.
Can someone advise of the code to make the numbers appear with a £ sign
With oWS
.Range("A1:X1").Interior.C
olor = RGB(255, 255, 0)
FormulaRow = .Cells(.Rows.Count, "b").End(-4162).Row + 2 'xlUp
.Cells.Font.Size = 10
.Rows(1).Font.Bold = True
.UsedRange.EntireColumn.Au
toFit
.Range("c:v").NumberFormat
= "0.00%;[Red]0.00%"
.Range("c:v").NumberFormat
= "#,##0.00;[Red]#,##0.00"
.Range("A:A").AutoFilter Field:=1
.Range("A:A").Select
Thanks,
Seamus
Answer : Access Export Formatting
RangeToApplyFormattingTo.N
umberForma
t = Chr(163) & "#,##0.00;[Red](" & Chr(163) & "#,##0.00)"
Random Solutions
wordpress causing infinite tabs opening?
Setting Compatibility Mode in IE8 using JavaScript
Excel Date Time format conversion yyyy-mmm-dd hh:mm:ss to mm/dd/yyyy hh:mm:ss
SBS 2003 / Error: too many hops (delivery attempts: 0)
How to enable workstation users to install software through GPO using SBS 2008
GridView control scroll bars are not visible on page reload
Crystal cross-tab page numbering
TypeConverter and multiple data sources used in Property Grid with a dropdown control.
AJAX Refresh on Submit of Pop Up Window
Event ID 12293 Security -SPP Publishing key management service Error#0x8007232D