carefreeant88
New Member
- Joined
- Nov 27, 2024
- Messages
- 15
- Office Version
- 2010
- Platform
- Windows
Hi all,
I have two separate/concurrent issues that I am hoping for help with.
For the first issue, I basically have a workbook with 4 separate worksheets/tabs on it. This automatically updates everyday based on latest Sales Data, and so - as such - the exact layout/order of the columns and headers changes.
I am basically therefore after some help, with writing a Macro/VBA which achieves the following. I am really struggling with it (bit of a newbie with Macros), so any help would be welcome:
Hopefully it's do-able. As I say, I am new to Macros/VBAs and so any help at all would be most welcome.
Regards
I have two separate/concurrent issues that I am hoping for help with.
For the first issue, I basically have a workbook with 4 separate worksheets/tabs on it. This automatically updates everyday based on latest Sales Data, and so - as such - the exact layout/order of the columns and headers changes.
I am basically therefore after some help, with writing a Macro/VBA which achieves the following. I am really struggling with it (bit of a newbie with Macros), so any help would be welcome:
- Go to the tab called 'Sales Analysis'
- Search for the word 'Text' on the top row (column headers)
- When you find the column called 'Text', inserts 5 Columns to the left of it.
- Call the first column that has been added 'Sales Data 1'
Call the second column that has been added 'Sales Data 2'
Call the third column that has been added 'Sales Data 3'
Call the fourth column hat has been added 'Sales Data 4'
Call the fifth column that has been added 'Sales Data 5'
Hopefully it's do-able. As I say, I am new to Macros/VBAs and so any help at all would be most welcome.
Regards