Cyndy,
I have had the same problem. It doesn't make sense to me that passing an
Excel format from Access should object to Excel formatting; however, try this
and see if it gives you the result you need:
Selection.NumberFormat = "$#,##0.00);($#,##0.00);"-""
> I have an Excel spreadsheet that is created each time an Access form is
> executed.
[quoted text clipped - 10 lines]
>
> I am getting errors such as method not found or invalid format.
CyndyG - 26 May 2005 18:47 GMT
THanks,but still does not work,
> Cyndy,
>
[quoted text clipped - 18 lines]
> >
> > I am getting errors such as method not found or invalid format.
Klatuu - 26 May 2005 18:58 GMT
Try it this way
Selection.NumberFormat = "$#,##0.00);($#,##0.00); - "
> THanks,but still does not work,
>
[quoted text clipped - 20 lines]
> > >
> > > I am getting errors such as method not found or invalid format.