Update specific cell of excel file using oledb

后端 未结 2 1784
故里飘歌
故里飘歌 2021-01-28 14:42

I want to update the specific cell of the excel file using oledb. Say I7 cell, for some reason always I1 is getting updated. Can anyone tell me what\'s wrong with this code?

相关标签:
2条回答
  • 2021-01-28 15:06

    This may purely be an issue with the cell address scheme you're using. Try $I$7:$I$7 intsead. Also, what is that F1 thing in the query?

    0 讨论(0)
  • 2021-01-28 15:19

    I ran the same program on excel 2007, it worked smoothly. For excel 2013 it does not work. Seems like a bug in excel 2013.

    0 讨论(0)
提交回复
热议问题