B
bf1
Hi-
Access 2000. I am creating an Excel worksheet via VBA code. Through
the code, I would like to format a column in the worksheet as a
percentage (so it displays 12.4%, as opposed to 0.124, for example).
I've seemingly scoured the sources I know of looking for the solution,
but to no avail.
I think the autoformat attribute (method?) is the key, but I can't get
that to work, nor can I find documentation on it.
Dim objXLSheet As Excel.Worksheet
<snip>
objXLSheet.Range("D
").AutoFormat Number:= <I don't know?!>
<snip>
Any ideas?
TIA, and thanks to all who contribute their knowledge here day in and
day out.
Beth F.
Access 2000. I am creating an Excel worksheet via VBA code. Through
the code, I would like to format a column in the worksheet as a
percentage (so it displays 12.4%, as opposed to 0.124, for example).
I've seemingly scoured the sources I know of looking for the solution,
but to no avail.
I think the autoformat attribute (method?) is the key, but I can't get
that to work, nor can I find documentation on it.
Dim objXLSheet As Excel.Worksheet
<snip>
objXLSheet.Range("D

<snip>
Any ideas?
TIA, and thanks to all who contribute their knowledge here day in and
day out.
Beth F.