Excel Consolidation Tab
Solved/Closed
nnavarro
Posts
7
Registration date
Thursday June 4, 2015
Status
Member
Last seen
August 21, 2015
-
Jun 4, 2015 at 01:13 AM
nnavarro Posts 7 Registration date Thursday June 4, 2015 Status Member Last seen August 21, 2015 - Jun 11, 2015 at 08:30 PM
nnavarro Posts 7 Registration date Thursday June 4, 2015 Status Member Last seen August 21, 2015 - Jun 11, 2015 at 08:30 PM
Related:
- Excel Consolidation Tab
- Excel marksheet - Guide
- Number to words in excel - Guide
- Excel apk for pc - Download - Spreadsheets
- Java update tab missing - Guide
- Kernel for excel - Download - Backup and recovery
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Jun 4, 2015 at 11:21 AM
Jun 4, 2015 at 11:21 AM
Hi Noah,
Well you already have a code line which excludes a sheet from the loop, so all you need is to add to that line:
Change:
If Worksheets(k).Name = "master" Then GoTo errorhandler
Into:
If Worksheets(k).Name = "master" or Worksheets(k).Name = "Data" Then GoTo errorhandler
Best regards,
Trowa
Monday, Tuesday and Thursday are usually the days I'll respond. Bear this in mind when awaiting a reply.
Well you already have a code line which excludes a sheet from the loop, so all you need is to add to that line:
Change:
If Worksheets(k).Name = "master" Then GoTo errorhandler
Into:
If Worksheets(k).Name = "master" or Worksheets(k).Name = "Data" Then GoTo errorhandler
Best regards,
Trowa
Monday, Tuesday and Thursday are usually the days I'll respond. Bear this in mind when awaiting a reply.
Jun 4, 2015 at 01:29 PM
Thank you so much for such quick response!! This works like a charm. I just got a question. Once the code is ran. It opens a save table. I close it and works fine. I was just wondering why that would happen.
Once again thank you,
Noah
Jun 9, 2015 at 11:32 AM
If by save table, you mean the clipboard (the window that remembers all the stuff you copied), then you could add the following code line between "Next k" and "End Sub":
Application.CutCopyMode = False
OR
You can change the following 2 lines into 1 line (without the ".PasteSpecial"):
r.EntireRow.Copy
Worksheets("master").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).PasteSpecial
Change into:
r.EntireRow.Copy Worksheets("master").Cells(Rows.Count, "A").End(xlUp).Offset(1, 0)
Best regards,
Trowa
Jun 11, 2015 at 08:30 PM