C# Sample code for generating XLSM documents with pivot chart. Use this code for creating Micorsoft Excel XLSM files with pivot chart within VB.NET, Asp.NET or any .NET based application....support Macros. From application point of view, a Macro is set...for automating processes. A macro is used to record the steps...