Link to home
Start Free TrialLog in
Avatar of Jimbo99999
Jimbo99999Flag for United States of America

asked on

Vb.Net - Set Excel Column to Special

Good Day Experts!

I have a bit trouble with exporting my DataGrid to Excel.  When I have issue with values like 2.01E+111 in and Excel spreadsheet I just format the column to "Special" and it displays the correct/full value.  

How do I set this column to "Special" programatically so when I export from VB.Net DataGrid I see the full value?

Thanks for the help,
jimbo99999
ASKER CERTIFIED SOLUTION
Avatar of Ron Malmstead
Ron Malmstead
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jimbo99999

ASKER

Thanks for responding. I currently had it as you have indicated.  Unfortunately, at this moment, I have lost my MainForm.vb  to:

 Error      11      Unable to open module file 'C:\Documents and Settings\...MainForm.vb': System Error &Hc0000006&      

Thanks,
jimbo99999
Thanks, I have it working now.