troubleshooting Question

Excel VB Code Adjust for Splitting Into Separate Workbooks

Avatar of Escanaba
EscanabaFlag for United States of America asked on
VB ScriptMicrosoft OfficeVBAMicrosoft Excel
15 Comments1 Solution190 ViewsLast Modified:
Hello,

Seeking assistance for developing a VB code to help automate a process.  The attached spreadsheet has an existing code that breaks into smaller, individual workbooks based on changes in the ID (column C).  This part of the code is running as expected.

Based on an update I need an update to the code that will do the following BEFORE the majority of the data is split up into separate workbooks:

In column C, if the number is 000060 and the manager (column K) is Washington, George, take all applicable rows and place in a new workbook called 000060E.

In column C, if the number is 000060 and the manager (column K) is Washington, Martha, take all applicable rows and place in a new workbook called 000060A.

The selected rows in both conditions would be removed from the master file so they do not appear when the main code to split out the rest of the IDs is ran.  The ID and the manager must match.  Any remaining 000060 that do not match the conditions mentioned would remain on the master file.  So once the overall code is ran I would end up with a workbook 000060, 000060E and 000060A saved in a specified network folder.

Way beyond my limited coding skills and hoping the VB code ninjas can help.  Thank you for any assistance!
EE-Sample.xlsm
ASKER CERTIFIED SOLUTION
als315

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 15 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros