Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default Macro Help....

I don't know if this is even possible, but this is what I need:

I have a spreadsheet (Sheet6) that contains each individual account record
for a set time period. During this time period we have letters that are sent
out on a regular basis and we monitor how long it takes to receive a
response. When a response hits the time limit that they are allowed to
respond the claim is copied to another spreadsheet for follow up (FollowUp).
I need to know if there is a Macro that I can set up to automatically pull
the accounts that go past the alotted time frame.

So for example:

Row1 is on day 59. When Row1 hits day 60, the macro should automatically
copy that claim information to the FollowUp spreadsheet.

Is this possible?
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Macro Help....

Let's say your expiration or due date is in column D and you have headers in
row 1.

Sub RespDue()
Dim lr As Long, dt As Range
thisDay = Date
lr = ActiveSheet.Cells(Rows.Count, 4).End(xlUp).Row 'Get last row
Set myRange = ActiveSheet.Range("D2:D" & lr)
For Each dt In myRange
If dt.Value = thisDay Then
dt.EntireRow.Copy Sheets(2). _
Range("A" & Sheets(2).Cells(Rows.Count, 1).End(xlUp).Row + 1
End If
Next
End Sub

I did not test this, but the idea is to check the date in the column with
due dates and for each match that is greater than or equal to the current
date, copy to a separate sheet. You can then either word from that sheet or
produce a printed report of the overdue responses.

"akemeny" wrote:

I don't know if this is even possible, but this is what I need:

I have a spreadsheet (Sheet6) that contains each individual account record
for a set time period. During this time period we have letters that are sent
out on a regular basis and we monitor how long it takes to receive a
response. When a response hits the time limit that they are allowed to
respond the claim is copied to another spreadsheet for follow up (FollowUp).
I need to know if there is a Macro that I can set up to automatically pull
the accounts that go past the alotted time frame.

So for example:

Row1 is on day 59. When Row1 hits day 60, the macro should automatically
copy that claim information to the FollowUp spreadsheet.

Is this possible?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro recorded... tabs & file names changed, macro hangs Steve Excel Worksheet Functions 3 October 30th 09 11:41 AM
Macro to copy and paste values (columns)I have a macro file built C02C04 Excel Programming 2 May 2nd 08 01:51 PM
Need syntax for RUNning a Word macro with an argument, called from an Excel macro Steve[_84_] Excel Programming 3 July 6th 06 07:42 PM
how to count/sum by function/macro to get the number of record to do copy/paste in macro tango Excel Programming 1 October 15th 04 01:16 PM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 05:04 PM


All times are GMT +1. The time now is 05:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"