Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2015, 03:16 PM
ballst ballst is offline Macro needed for time calculation and auto insert Windows XP Macro needed for time calculation and auto insert Office 2003
Advanced Beginner
Macro needed for time calculation and auto insert
 
Join Date: Dec 2014
Posts: 32
ballst is on a distinguished road
Default

Quote:
Originally Posted by NoSparks View Post
Back to your original post:



a) identify a starting and ending point.... Excel can find anything it's asked to find if it exists. It's the user that must tell Excel what it's to look for or how to identify whatever it's looking for.

That's the part of your problem that's missing. I think your last post says that within each NEWCASE there are audit notes that would "pair up" to give start and end of tasks, but without Excel knowing this, no time taken can be calculated.

b) insert a row after the end point..... first you need to solve the identity problem then it's just a matter of .Offset(1, 0).EntireRow.Insert

c) calculate the time between start and end point. There is a further problem in that tasks started and completed overnight show as an error.... For cell C13 of your posted sheet the Time Taken =(B12+C12)-(B3+C3) formatted [h]:mm:ss
NoSparks,

Cheers, re b & c. On point A, I want to use the data in column E, so I'll want to select any two data entries in that column, so for example.

Start "NEWCASE" End "Notify Parties Application Received - Early Notification Letters Sent. Move onto Recommended Track"

I would assume that info could be changed in the macro, depending what options I selected. How that all ends up in a macro is sadly beyond me though.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro needed for time calculation and auto insert Preventing Auto Metadata - Help Needed! samcmakin Word 1 04-09-2015 11:48 PM
Macro needed for time calculation and auto insert How to prevent the auto-calculation of the '% Complete' field in MS Project Professional 2013? VivekG1 Project 1 02-06-2015 05:33 AM
'Monday to Friday' Date calculation help needed ballst Word 10 12-16-2014 09:51 AM
Macro Needed to bold specific lines and Macro to turn into CSV anewteacher Word VBA 1 05-28-2014 03:59 PM
Macro needed for time calculation and auto insert Macro Needed to Insert Asnwer to A Question in Multiple Choice Format Question rsrasc Word VBA 7 03-28-2014 12:28 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft