sabbathstevie
New Member
- Joined
- Mar 17, 2010
- Messages
- 8
Hi everyone,
Hopefully someone can help me with an issue I have with macro recording.
I'd like to record a macro which:
1: copies the text string in a cell
2. filters a list based on that string
3. opens a pre-created workbook whose filename is based on the original string
4. copies the contents of the filtered list into the newly-opened workbook
5. closes and saves the newly opened workbook.
The problem I have is that, after recording the macro and then running it, it follows all the steps above but based on the text string that was entered in the cell the first time I recorded the macro, rather than the updated contents.
Quite difficult to explain the true nature of what I'm looking for here but basically does anyone know who a macro can be used to
1. Copy text from a cell
2. paste that text into a box (such as "custom filter", "open" or "saveas") to perform these functions based on the contents of that first cell?
Many, many thanks to anyone who can help.
Hopefully someone can help me with an issue I have with macro recording.
I'd like to record a macro which:
1: copies the text string in a cell
2. filters a list based on that string
3. opens a pre-created workbook whose filename is based on the original string
4. copies the contents of the filtered list into the newly-opened workbook
5. closes and saves the newly opened workbook.
The problem I have is that, after recording the macro and then running it, it follows all the steps above but based on the text string that was entered in the cell the first time I recorded the macro, rather than the updated contents.
Quite difficult to explain the true nature of what I'm looking for here but basically does anyone know who a macro can be used to
1. Copy text from a cell
2. paste that text into a box (such as "custom filter", "open" or "saveas") to perform these functions based on the contents of that first cell?
Many, many thanks to anyone who can help.