Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel - Macro to open a worksheet in a specific way

Posted on 2008-10-22
2
Medium Priority
?
2,042 Views
Last Modified: 2012-05-05
Is it possible to have a macro that opens a worksheet in a specific way. What i have is a weekly time sheet and at the moment the days are divided using 'Outlining'. What i would like to be able to do is when i enter the the 'Site Name' and 'Start Date' into the 'New Sheet' Worksheet it automatically opens the duplicated template at the specific day as per the start date. All the other dates and week numbers are automatically filled out in the duplicate worksheet from what is entered already in the enw sheet.
Weekly-Pay-Schedule-9.xls
0
Comment
Question by:Carlandrewlewis
2 Comments
 
LVL 18

Accepted Solution

by:
Curt Lindstrom earned 2000 total points
ID: 22792383
Carl,

Is this what you want?

I used the file from your last question instead of the one you uploaded in this question since this is a later file.

Why do you step up the date started by +1 for each weekday in the template? It looks confusing to me. I assume that the start date is only meaningful as the date when the project started so you would be better off to leave it as =m4 in the Tuesday to Sunday time sheets in the template.

Curt

Mod2-Weekly-Pay-Schedule-15.xls
0
 

Author Closing Comment

by:Carlandrewlewis
ID: 31508657
Curt, your an absolute star! thanks for that! one last thing is there any way to change the times so that i could just type 12 for 12:00 or 1215 for 12:15? I've got a question with regards to this as well if your interested called Excel - Time Formats.

Thanks again
Carl
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question