Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chart in Access

Status
Not open for further replies.

milz

Computer
Joined
Oct 18, 2002
Messages
1
Location
CH
Do somebody know how i can change the decimals in the Chart.DataTable via vba? Because i have sale values and i need 2 decimals. The Chart is in a Form and the Data he get from a Table, every time when i open it i want to change that via vba. When i change it manually, close the form reopen it, the changes are lost.

thx for help
 
Select the cell (Cells(row, column).Select
Selection.NumberFormat = "0.00"

OR

Cells(row, column).NumberFormat = "0.00"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top