How to Automate Copying Audit Numbers and Notes Between Excel Sheets
Question details
The user needs a method to automatically transfer audit numbers from a tracker sheet to another sheet, appending predefined text to prepare the data for an external note-taking system.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Managing an Excel tracker with audit dates, completion dates, and audit numbers, and needing to format and migrate specific columns to a new sheet for external use.
- Observed behavior
- Requires a reliable automated solution to extract the audit numbers and merge them with specific comments or notes on a separate destination worksheet.
Ensure you know the exact cell ranges of your source data and the desired destination cells. Create a backup copy of your tracker before testing new macros or formulas to prevent accidental data overwrites.
Automate Data Transfer with a VBA Macro
Use a VBA script to dynamically loop through your tracker and automatically copy audit numbers while combining them with your required notes.
VBA (Visual Basic for Applications) is the most robust way to automate repetitive tasks in Excel. By writing a short macro, you can command Excel to find every audit number, attach a predefined string of text, and paste the final result into a completely different sheet.
When requesting help with VBA on forums, always provide a sample workbook rather than a screenshot. Screenshots do not reveal hidden rows, merged cells, or exact workbook structures required to write an accurate macro.
Press Alt + F11 in your Excel workbook to open the Visual Basic for Applications (VBA) editor.
Click 'Insert' from the top menu and select 'Module' to open a blank script window.
Create a subroutine that defines your source worksheet and destination worksheet. Use a 'For loop' to iterate through the rows containing audit numbers.
Within your loop, write a command to read the audit number, combine it with your text (e.g., DestinationCell.Value = SourceCell.Value & " - Predefined Note"), and move to the next row.
Save your file as an Excel Macro-Enabled Workbook (.xlsm). Press F5 inside the editor or assign the macro to a button to run your automation.

Combine and Transfer Data Using Excel Formulas
If you prefer not to use macros, you can use cell references and concatenation formulas to achieve a similar result dynamically without coding.
Automate Data Across Sheets with WPS Spreadsheet
WPS Spreadsheet fully supports advanced formulas and VBA macros, allowing you to seamlessly automate data transfers, combine audit notes, and manage complex trackers with ease.
- 1. Open Your Tracker: Launch WPS Spreadsheet and open your existing audit tracking workbook.
- 2. Access the Developer Tools: Navigate to the 'Developer' tab on the ribbon or simply press Alt + F11 to open the VBA editor.
- 3. Insert the Script: Click 'Insert' > 'Module' and paste your data transfer and concatenation script.
- 4. Run the Automation: Click the 'Run' button to automatically transfer your audit numbers and notes to the destination sheet.

Frequently Asked Questions
Can I automate copying data without writing code?
Yes. You can use native Excel formulas like CONCAT or the ampersand (&) operator to pull data from one sheet to another dynamically. Alternatively, you can use Microsoft Power Automate to build trigger-based workflows without writing traditional code.
Why do Excel forums ask for sample files instead of screenshots?
Screenshots do not show the underlying workbook structure, hidden columns, named ranges, data types, or specific cell formatting. Providing a mock file ensures the formulas or VBA code provided will actually work for your specific layout.
How do I save a workbook that contains automated VBA macros?
You must save the file as an Excel Macro-Enabled Workbook (.xlsm). Standard Excel workbooks (.xlsx) will strip out and delete the VBA code upon saving.
Why isn't my VBA macro copying the data to the correct sheet?
This usually happens when the sheet names or cell ranges in your macro do not match the actual workbook. Double-check that your VBA code exactly references the names on the sheet tabs (e.g., 'Sheet2' vs 'DestinationSheet').




