Hi all, I need your help again.
I already learned lots from this forum, but my new "search and copy" function I have not figured out how to do in VBA.
I have an excel with tab CashExpenses and tab ExpenseAccounts.
In tab Expenses I paste my cash expenses in columns A-D. Next I run a VBA to copy values A to H, B to G, and D to K. Columns F and I, I default to a fixed value.
Here is my challenge. in column C I have a short version of my expense type for which I need to find the associated Expense account in tab ExpenseAccounts column A, then copy the full expense account back to tab CashExpenses column J
Here is an example:
In row 2 I have expense type "marketing" for which I would need to find and copy "Business Expenses:Marketing Expense" from tab ExpenseAccounts.
If an expense account is not found in tab ExpenseAccounts I would like to highlight the cell in column J with background color red (or copy text "not found" in color red)
I would like to use this excel to import into my QuickBooks app.
Thanks for your help.
Gerd
Bookmarks