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.

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,112 questions
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.
2,984 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 40,056 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.

    0 comments No comments

  2. Olaf Helper 45,776 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.

    0 comments No comments

Your answer

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