[AccessD] Excel object model.

Bobby Heid bheid at appdevgrp.com
Thu Dec 30 08:17:26 CST 2004


I have found the information as that I needed.  If anyone is interested,
I'll sum up the information in another email after I finish what I am
working on.

Thanks,
Bobby

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid
Sent: Thursday, December 30, 2004 8:07 AM
To: 'Access Developers discussion and problem solving'
Subject: RE: [AccessD] Excel object model.


Ok, I found the numberformat property which will take care of the standard
number and percent formats.  Now I am still looking for the decimal places.

I am also looking for the property that will let me right justify text in a
cell.

Thanks,
Bobby

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid
Sent: Thursday, December 30, 2004 7:55 AM
To: 'Access Developers discussion and problem solving'
Subject: [AccessD] Excel object model.


Hi all,

I'm trying to format a small range of cells.  I want to set the format on a
row-by-row basis.  Basically, I am building a report from Access into an
Excel spreadsheet.

I am accessing the range like this

With .worksheets(1).Range(.worksheets(1).cells(l, 3),
.worksheets(1).cells(l, 5))
      End With 

Does anyone know what method(s)/properties I need to use to set the range's
number of decimals to display, as standard number, and as a percent?  I am
currently looking for this information, but if anyone already knows, it
would greatly speed up my work.

Thanks,
Bobby




More information about the AccessD mailing list