I'm trying to figure out/learn how to overwrite previously saved data. Right now when I save data to my excel form and then reopen it, to edit, a duplicate row with the edited data is shown along with the previously saved data as well.
Gus_19 0 Junior Poster in Training
Recommended Answers
Jump to PostAre you appending the data that is in memory back out the file? If so you are just adding everything back in again.
Example:
If you are reading into table > add more to end > post back out = Post all data in table, including data that is already …
Jump to PostThe easiest way to modify Excel from VB is probably by using the Excel Application object. To do this,
1) start a new project
2) add a reference to "Microsoft Excel ##.# Object Library"
3) add "Imports Excel = Microsoft.Office.Interop.Excel" at the top of your codeYou create the Excel …
All 7 Replies
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Gus_19 0 Junior Poster in Training
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Gus_19 0 Junior Poster in Training
Begginnerdev 256 Junior Poster
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Gus_19 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.