I have a work schedule, worksheet 2014, that contains the entire years working scheduled, vacations and time off. The first 3 rows are meant to remain consistent as these don't change. I publish 6 weeks of schedule to, worksheet SP Publish, which is used to upload to a sharepoint site starting with the current Sunday workweek. So I have a vb script that is meant to copy 6 weeks of calendar data, starting with the current weeks Sunday, select 6 weeks worth of calendar entries, copy that, clear the SP publish sheet and then paste 6 weeks worth of data into cell A4.
Here are my issues:
1. The copy seems to work just fine but as you can see in the SP Publish sheet I have two rows, 3 & 4 of days of the week. I only need one. Since I am a newbie to VB scripting I can't seem to find why this keeps happening. Again, Rows 1 throug 3 on both the 2014 and SP Publish sheet are consistent.
2. The last week of of schedule on the SP Publish worksheet is incomplete, the last record should end with Dan, so I am still missing two rows of data. Some weeks it works and others it doesn't. Since I used a fixed number of rows to publish I figured I had some extra rows which threw off the count but I havent seen any.
3. The row heights for each indiviudal should be set to 26.4. I couldn't fingure out a better way to set those row heights so as you can see at the end of the script I hard coded each range to update the row heights. Is there another way to do this? This seem a bit cumbersome to script it that way.
4. After I have selected the data in worksheet 2014 I want to show the rest of the calaendar to the end of the year. Right now it only shows the current six weeks worth of data. I want to see all of it. Again, I had gotten thelp with this portion and don't understand how the code is working to make this change.
thanks for your help.