Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In vs 2008 i have do it is working

When i export to excel is working

=(ReportItems!Balance2.Value + ReportItems!Supply3.Value) - ReportItems!Demand3.Value

In vs 2013 i am doing it is working

Same code i have used but is not working

=(ReportItems!Balance2.Value + ReportItems!Supply3.Value) - ReportItems!Demand3.Value

Please help me regrading this.
Posted
Updated 6-Jul-15 18:15pm
v2
Comments
manognya kota 3-Jul-15 6:46am    
correct me if iam wrong.As i understand, you are using the same formula "=(ReportItems!Balance2.Value + ReportItems!Supply3.Value) - ReportItems!Demand3.Value" in your VS 2013. it works. but when you export to excel is doesnt work?
subbuksr123 6-Jul-15 1:55am    
yes
virusstorm 10-Jul-15 12:22pm    
Where and how are you assigning this equation?
subbuksr123 10-Jul-15 12:23pm    
in rdlc report viewer
virusstorm 10-Jul-15 13:10pm    
Just making sure I understand the issue. So in VS2008, when you export the report to Excel, the equation is in the excel file. The cell in question would have a value like this "=(A1 + B2) - C3".

When you export it using VS2013, the cell in question has a value of "123" instead of the equation.

Am I describing the problem right?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900