Forum Discussion
scrail2004
Aug 21, 2025Brass Contributor
Excel Macro Reference to Current Workbook/Worksheet, Not a Specific One
I do a CSV download of banking data from my online account. Those data must be reconfigured (deleting, adding, and combining columns; turning positive numbers into negatives; sorting; etc) to be pas...
- Aug 21, 2025
Replace ALL occurrences of ActiveWorkbook.Worksheets("AccountHistory") with ActiveSheet
HansVogelaar
Aug 21, 2025MVP
Replace ALL occurrences of ActiveWorkbook.Worksheets("AccountHistory") with ActiveSheet
- scrail2004Aug 21, 2025Brass Contributor
Thanks HansVogelaar! Worked like a charm. I've got another macro question coming up. Keep your eyes peeled for it. :-)