Guest SRSILVER Posted July 17, 2007 Report Share Posted July 17, 2007 Pessoal,Alguém sabe como abro uma planilha com dados em Excel e importo para o Oracle?Só lendo as células no Delphi já seriam o suficiente, pois através delas eu posso fazer o insert. ;) Quote Link to comment Share on other sites More sharing options...
0 Guest --felipe -- Posted July 17, 2007 Report Share Posted July 17, 2007 Pessoal,Alguém sabe como abro uma planilha com dados em Excel e importo para o Oracle?Só lendo as células no Delphi já seriam o suficiente, pois através delas eu posso fazer o insert. ;)primeiro adicione ComObj na sua clausula uses procedure TPrincipalForm.Button1Click(Sender: TObject); var planilha:variant; s,s1:string; begin planilha:= CreateoleObject('Excel.Application'); planilha.WorkBooks.open('CAMINHO DO ARQUIVO'); s:=planilha.cells[1,1]; s1:=planilha.cells[1,2]; end;é isso x) Quote Link to comment Share on other sites More sharing options...
Question
Guest SRSILVER
Pessoal,
Alguém sabe como abro uma planilha com dados em Excel e importo para o Oracle?
Só lendo as células no Delphi já seriam o suficiente, pois através delas eu posso fazer o insert. ;)
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.