Skip to Content
Author's profile photo Former Member

Workaround of Alternate row color will run throughout the excel when exported

When Crystal Report is Exported to EXCEL. Alternate row color will run through out the excel as show in Screen Shots.

Screen.jpg

Workaround:

1. Instead of giving background color to detail section as shown in the screenshot.

          if (RecordNumber mod 2)=0 Then crSilver else crNoColor

Screen.jpg

2. Give the background color for each variable as shown in the screen shot with the formula

               if (RecordNumber mod 2)=0 Then crSilver else crNoColor

Screen.jpg

3. After exported to excel looks as shown in the screen shot.

Screen.jpg

Assigned Tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Nice Doc 🙂

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks 🙂

      Author's profile photo Former Member
      Former Member

      Thanks for the info.

      Author's profile photo Satendra Kumar Srivastava
      Satendra Kumar Srivastava

      Good Document , Thanks for sharing .

      Author's profile photo Raghavendra Hullur
      Raghavendra Hullur

      Nice Workaround Rajesh.

      Thanks.

      -Raghavendra