Jump to content

importar dados de excel 2007 pra datagridview em vb 2008


Rui Lopes
 Share

Recommended Posts

A maneira mais fácil, se o que queres são apenas os dados e não a formatação, é gravares no excel como Comma Separated Values (CSV) e procederes ao parsing no VB.

Chegará para o que pretendes?

Sérgio Ribeiro


"Great coders aren't born. They're compiled and released"
"Expert coders do not need a keyboard. They just throw magnets at the RAM chips"

Link to comment
Share on other sites

Consegues isso facilmente com CSV.

Para trabalhar com XLS não te posso ser grande ajuda B)

Posso, no entanto, dizer-te que já vi qualquer coisa integrada com o Studio 2008 relacionada com o Office 12 (2007 para os amigos).

Se não tiveres uma versão Studio, eu posso dar uma vista de olhos amanhã e ver o que para lá há relativamente à manipulação de XLS (porque em casa é só versões express)

Sérgio Ribeiro


"Great coders aren't born. They're compiled and released"
"Expert coders do not need a keyboard. They just throw magnets at the RAM chips"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.