LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Excel data format problem (Urgent)

I don't know if You can modify somehow the code You supplied (I don't really
understand it), but You may format the cells in Excel after fetching data.
Range("SomeRangeHere").NumberFormat="00000000"
or fetch the data as strings what will prevent Excel from deleting leading
zeroes.

"ajaykrishna" wrote in message
...
Hi,

I'm downloading grid data to excel document using following code
snippet:

Response.Clear()
Response.Buffer = True
Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader("content-disposition",
"attachment;filename=CDSInfo.csv")



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel problem trying to format columns of data imac1948 Excel Worksheet Functions 3 June 19th 06 06:34 AM
Excel problem - urgent infodata Excel Discussion (Misc queries) 1 May 12th 06 04:48 PM
*Hi- Urgent (but of course) I need a music cue sheet in excel format....(sample attached)......thanks for the help! - wsr-comp-cuesheet.pdf (0/1) [email protected] Excel Discussion (Misc queries) 2 January 16th 06 10:32 PM
*Hi- Urgent (but of course) I need a music cue sheet in excel format....(sample attached)......thanks for the help! - wsr-comp-cuesheet.pdf (1/1) [email protected] Excel Discussion (Misc queries) 0 January 16th 06 06:08 PM
Urgent Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM


All times are GMT +1. The time now is 05:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"