Solved

Excel - Macro to open a worksheet in a specific way

Posted on 2008-10-22
2
2,031 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 500 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
highlight duplicate entry 16 30
Manually enter date in datepicker 24 35
Filling Blank Cells 14 19
nested if statement in excel help 4 15
I recently resolved a client's Office 2013 installation problem and wanted to offer an observation that may help you with troubleshooting similar issues. The client ordered three Dell Optiplex system units with the Windows 7 downgrade option inst…
As freelancing is becoming more and more common in the tech industry, certain obstacles are proving to be a challenge to those who are used to more traditional, structured employment. This article is meant to help identify such obstacles and offer a…
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now