Excel - A Macro to move data from rows to columns
Closed
yvonlet
Posts
2
Registration date
Wednesday 17 August 2016
Status
Member
Last seen
25 August 2016
-
17 Aug 2016 à 13:37
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 30 Aug 2016 à 11:49
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 30 Aug 2016 à 11:49
Related:
- Excel - A Macro to move data from rows to columns
- How to copy data from one excel sheet to another - Guide
- Excel move data from one sheet to another - Guide
- How to copy data to multiple worksheets in Excel - Guide
- Export data from excel - Guide
- Excel mod apk for pc - Download - Spreadsheets
1 response
TrowaD
Posts
2921
Registration date
Sunday 12 September 2010
Status
Contributor
Last seen
27 December 2022
555
25 Aug 2016 à 11:33
25 Aug 2016 à 11:33
Hi Yvonlet,
That happens because you delete columns C:E, thus changing the cell references in your formula's.
Consider changing:
into
Best regards,
Trowa
That happens because you delete columns C:E, thus changing the cell references in your formula's.
Consider changing:
.Delete
into
.ClearContents
Best regards,
Trowa
25 Aug 2016 à 12:57
It work first time with the ClearContents.
Now, just another question.
I would like to clear all contents in my TAB:
Columns("a:z").ClearContents,
but then, use the clipboard to do a
Paste Special, Text into cell A2-A20 of the same TAB.
Do you know of such command?
But again, so many thanks for the Clear.
30 Aug 2016 à 11:49
Where is the data you want to put in A2-A20 coming from?
Same sheet?: then you can either clear the contents around that range or copy that range outside the cleared range first.
Other sheet?: then you can clear first and copy later.
Not sure if this is helpful. If not, then explain in greater detail what you are after.
Also to clear an entire sheet you can use: .
Best regards,
Trowa