Bennie47250
Programmer
Using Crystal 7.0
When I discussed this project with my boss, I didn’t think it could be done but now that I have tried it, I now think maybe this can be done after all.
The finished report will be exported out as an Excel spreadsheet (version 5).
There will be a Cell showing the total number of vacation hours available.
There will be Cells where a person will enter the number of hours they would like to take off. Next to this Cell, we would like to show the remaining hours of vacation. This is where we would like to export the actual formula that Excel would use
Excel Sheet will look like this:
Total hours available 160
Hours Requested Hours Remaining
(Excel Column A) (Excel Column B)
In the Hours Requested column I have entered a text object field and have a 0 in it
In the Hours remaining column I have entered (as formulas) are the Excel formulas for example: “= A1-A2” or “= B2-A3” or” = B3–A4”
The formulas, when export to Excel, show up as = A1-A2 in the Excel Cell. However Excel is not recognizing these as formulas. But if I click at the end of the formula (in the formula bar) and press enter or click out of the cell, Excel will recognize it as a formula and perform the calculation.
Any thoughts on how to (1) how to format the formula so Excel will recognize with without any additional actions or (2) a different way to achieve the same end result.
Thanks
Bennie
When I discussed this project with my boss, I didn’t think it could be done but now that I have tried it, I now think maybe this can be done after all.
The finished report will be exported out as an Excel spreadsheet (version 5).
There will be a Cell showing the total number of vacation hours available.
There will be Cells where a person will enter the number of hours they would like to take off. Next to this Cell, we would like to show the remaining hours of vacation. This is where we would like to export the actual formula that Excel would use
Excel Sheet will look like this:
Total hours available 160
Hours Requested Hours Remaining
(Excel Column A) (Excel Column B)
In the Hours Requested column I have entered a text object field and have a 0 in it
In the Hours remaining column I have entered (as formulas) are the Excel formulas for example: “= A1-A2” or “= B2-A3” or” = B3–A4”
The formulas, when export to Excel, show up as = A1-A2 in the Excel Cell. However Excel is not recognizing these as formulas. But if I click at the end of the formula (in the formula bar) and press enter or click out of the cell, Excel will recognize it as a formula and perform the calculation.
Any thoughts on how to (1) how to format the formula so Excel will recognize with without any additional actions or (2) a different way to achieve the same end result.
Thanks
Bennie