Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 13th, 2006, 10:35 AM
erinnicole782 erinnicole782 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Location: Missouri
Posts: 1 erinnicole782 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 3 m 35 sec
Reputation Power: 0
Send a message via Yahoo to erinnicole782
Split Workbook

Ok I am having a serious problem and I need some help

What exactly I need help with is hard to explain but I will do my best.

I have an excel workbook file that I use as a tool to determine everybody’s annual pay increase. The workbook has three worksheets. The first worksheet is called "Data" the other two sheets are hidden but are called "Tables" and "Grades"

The data worksheet basically lists all of our supervisors that have hourly direct reports. There are input columns for the supervisors to rate their direct reports in certain areas. A score is generated from that input and that score determines what percent of market value the rate of pay should be. If the result is higher than the current rate of pay then the employee gets a raise. There are columns that perform this calculation that contain references to the hidden worksheets.

I have written few macros that appear to do what I need but the references are lost.

Ok now here is what I am trying to do exactly:

The first sheet in the workbook "data" has a listing of all the supervisors and their direct reports. I need to split this workbook up by supervisor so that I have a separate but identical workbook for each supervisor with only their reports listed.

This is how I have been doing it manually:

1-open the 2006NE.xls file

2-Select the row that contains the supervisor that I am making a separate file for

3-delete all other rows for the other supervisors

4-Protect the Data sheet-allow users to enter information into unlocked cells only

5-File---->Save As-----> LastName.FirstName.xls (of supervisor)

6-Close "LastName.FirstName.xls"

7-Reopen 2006NE.xls and select the next supervisor

8-repeat steps 2-7 until a separate file has been created for each supervisor

I have attached the file if looking at it helps at all, I had to cut it down a little because of it size. The real one has 1750 different supervisors, so you can see why I need to find a way to automate the above process, doing that for everybody would be far too tedious

Please help or if you have any suggestions

Erin
Attached Files
File Type: zip test.zip (51.5 KB, 151 views)

Last edited by erinnicole782 : April 13th, 2006 at 11:22 AM. Reason: submitted it in the wrong forum

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Split Workbook


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT