hondaman2003
Programmer
I just need to open an excel document from access. I would simply like to change a single cell to a percent format. How do I do that?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
That would not be correct!Hennie said:Assumming everything has been done to change the format the code would be something like this.
.Cells(12, 10).Value = Format(MyReadings1!std, "0.00%")
Bearing in mind there are a few other steps to select the range.
.Cells(12, 10).NumberFormat = "0.00%"