Share via

How to export from SSRS some blank columns in a report that user will be entering data into appear as text?

Manveet Kaur 0 Reputation points
2025-01-22T23:47:43.7+00:00

Currently, the exported Excel columns are of type General and when user enters values like 06-71, iit converts it to a date format. However, it should be treated as text and remain as is.

SQL Server Reporting Services
SQL Server Reporting Services

A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

2 answers

Sort by: Most helpful
  1. Olaf Helper 47,616 Reputation points
    2025-01-23T06:26:52.0333333+00:00

    when user enters values like 06-71, iit converts it to a date format

    That's the way MS Excel works; has nothing to do with SSRS/Export.

    You can add an apostrohpe in front of the value to supress this MS Excel behaviour.

    Was this answer helpful?

    0 comments No comments

  2. ZoeHui-MSFT 41,551 Reputation points
    2025-01-23T02:51:34.6066667+00:00

    Hi @Manveet Kaur

    The easiest way is right click the cells in Excel file and format the cells as text.

    There is some limitation when export to Excel from SSRS report.

    Directly edit the excel file may be the fast way.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.