I have an Excel table that is connected to a SharePoint database. I've added 2 extra columns within the Excel file (not found in the SharePoint database) to keep track of changes pertaining to the status of each document. Each document is on it's own row. These other columns are "Notes" (track changes in status) and "PDF File Path" (hyperlink that brings up the document file created after running VBA Macro to create the PDF file from fields in the current row).
PROBLEM: Every time the Excel file updates from the database, the info I've added in those 2 columns don't stay with their respected row; they shift to random cells within the same column, but to a different row.
I'm trying to keep all the information in one row to reflect each document. I've been searching for a solution, but I've been unable to solve this problem. Any help would be greatly appreciated. Thank you!
UPDATE: My first line of data starts at cell 38. After adding a note, creating a PDF, and hitting "Refresh All," the note and PDF hyperlink move down to cell 2355 (in the same column).
I do not think your way of adding notes will work. Excel would not be able to remember specific database row you put your notes against, unless these get pushed back to the database. To keep your notes aligned, you would need to add them directly in the SharePoint database. Alternatively, you could add your notes in a separate table against a unique identifier from each row of the SharePoint database, then use INDEX/MATCH formula in the main SharePoint query table to reflect these notes against the respective rows.
Hope this helps
Best Response confirmed by
Concileus (New Contributor)