Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RPE Excel Formulas

Does anyone know how to insert a literal function or formula into an Excel spreadsheet when exporting with RPE 6.0.5?

Something such as =if() or @Sum() etc.

When I put them in a text box they come out as text rather than functions/formulas.

0 votes


Accepted answer

Permanent link
Furmulas/functions in Excel are currently not supported by RPE. As a workaround, you can insert the literal function with some text (ex. "/=@") prefixed. After the document generation, open Excel output and replace "/=@" with "=" so that it will changed to a function. You can do this either manually or using a VBA macro.
Example: Use "/=@sum(4+4)" instead of "=sum(4+4)" and then replace "/=@" with "="
Don Cooper selected this answer as the correct answer

0 votes

Comments
Okay thanks Subra.

RPE produces a non-macro enabled format, xlsx, without the ability to save it as xlsm, I tried.

So the user would have to save the file as xls, then open it and save it as xlsm, then run the macro.

Believe it or not this is too much for some users to bear. :D

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,024
× 64

Question asked: Feb 13 '19, 1:45 p.m.

Question was seen: 2,260 times

Last updated: Feb 14 '19, 8:07 a.m.

Confirmation Cancel Confirm