473,382 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Microsoft bug in excel.Please suggest a work around !!

Hi all,

I have a page(vb.net) which directs to a excel sheet.This excel sheet
retains all the values(mainly numbers) from the page and displays
it.The problem is that sometimes the number's remain in text format
when downloaded to excel and this kind of creates a flag(similar to
the one when we add comments in the excel)in some of the cells.This
problem occurs only sometimes.
Can anyone suggest anyway of overcoming these??Like using a number
formatter(or x:num)

Please suggest a work around for this.

Thanks,
Kushi

Jan 31 '07 #1
2 1448
How are you outputting the data? Are you using Ado.net or using com
interop and "hijacking" the excel document. If the latter, look up the
NumberFormat method in the excel 11.0 object library. If you're using
ADO.Net than I can't think of a solution off hand.

Thanks,

Seth Rowe
On Jan 31, 7:24 am, only2gayat...@gmail.com wrote:
Hi all,

I have a page(vb.net) which directs to a excel sheet.This excel sheet
retains all the values(mainly numbers) from the page and displays
it.The problem is that sometimes the number's remain in text format
when downloaded to excel and this kind of creates a flag(similar to
the one when we add comments in the excel)in some of the cells.This
problem occurs only sometimes.
Can anyone suggest anyway of overcoming these??Like using a number
formatter(or x:num)

Please suggest a work around for this.

Thanks,
Kushi

Jan 31 '07 #2
I am using ado.net.Its basically a web based application.Can anyone
please suggest me if there is any solution to the problem??

On Jan 31, 8:31 pm, "rowe_newsgroups" <rowe_em...@yahoo.comwrote:
How are you outputting the data? Are you using Ado.net or using com
interop and "hijacking" the excel document. If the latter, look up the
NumberFormat method in the excel 11.0 object library. If you're using
ADO.Net than I can't think of a solution off hand.

Thanks,

Seth Rowe

On Jan 31, 7:24 am, only2gayat...@gmail.com wrote:
Hi all,
I have a page(vb.net) which directs to a excel sheet.This excel sheet
retains all the values(mainly numbers) from the page and displays
it.The problem is that sometimes the number's remain in text format
when downloaded to excel and this kind of creates a flag(similar to
the one when we add comments in the excel)in some of the cells.This
problem occurs only sometimes.
Can anyone suggest anyway of overcoming these??Like using a number
formatter(or x:num)
Please suggest a work around for this.
Thanks,
Kushi- Hide quoted text -

- Show quoted text -

Feb 1 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

163
by: Shiperton Henethe | last post by:
Hi Know any good utilities to help me strip out the tags that Microsoft Excel 2002 leaved behind when you try and export an HTML format file? This is driving me NUTS. And really makes me...
182
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
1
by: mplsken | last post by:
I looked around for the right discussion thread to post this to, and apologize if this is the wrong one ... feel free to redirect me - I'm new to this board! I've seen several references in other...
9
by: Doug Glancy | last post by:
I got the following code from Francesco Balena's site, for disposing of Com objects: Sub SetNothing(Of T)(ByRef obj As T) ' Dispose of the object if possible If obj IsNot Nothing AndAlso...
6
by: William Foster | last post by:
Good morning all, I want to password protect a Microsoft Excel Workbook containing all my reference tables for a program, so that I can place the workbook in a central location that is...
10
by: Hendri Adriaens | last post by:
Hi, I'm trying to automate the creation of an excel file via COM. I copied my code below. I read many articles about how to release the COM objects that I create. The code below runs just fine...
1
by: arun0580 | last post by:
I am running a VBA macro application in Microsoft Excel 97 under Windows XP -Service Pack 1 to, 1.Open an Excel work book . 2.Update a value in a cell 3.Save and close the file. I need to...
5
kadghar
by: kadghar | last post by:
Most of the times VBA is used with variables. Objects (such as worksheets, cells or databases) are only used when we read their properties (value, formula, font...) or we use a method (save,...
24
by: joeldault | last post by:
Question For Microsoft Access Data Base -------------------------------------------------------------------------------- I am Trying to create a single formula that would do the following: If...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.