Automating & Learning

firef0x

New Member
Joined
Dec 5, 2018
Messages
1
Hello I recently have started a new job that requires me to use a lot of excel for my day-to-day.. I've learned so much, and I'm starting to watch videos and learn even more than I could imagine. I'm stuck though on an issue I would like to be able to automate.

I have this daily report.. It has columns with the day of the month and the date
and then it has on Column A a Task List.

SUNMONTUEWEDTHURS
TASK1st2nd3rd4th5th
WORKWSTOPWWW
AUDITSTOPSDOSTOPWSDO
TRAINSDOSDOSTOPWSTOP
OTHERSTOpSTOPWSDOSTOP

<tbody>
</tbody>

I would like to learn how to do two things with it. Learning will help me reproduce similar and better results for other projects too.

I would like to open the worksheet and it run a macro that says: TODAYS DATE (Example: Today is the 5th), Grab the 5th Date column, and pull all of the rows that have a task that has stop in it, paste it into another sheet, like this:
TASK5th
TRAINSTOP
OTHERSTOP

<tbody>
</tbody>

And also I would like to be able to have a macro that pulls the current month and resets the top Day and Date columns to what those would be.
So January 1 I could open it and run the macro and the 1st column would be TUES, 1st and it would update that entire row.

Further down the road, i know certain tasks are due certain days every month. So TRAIN would always be STOP on the 5th, 10th, 15th, etc.
How could I place the values once it updates the header dates?


Sorry for the loaded question.. I'm eager to learn and thanks for any tips or resources you can provide.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
From this image I assume task is in column A

And do you want the entire row copied to another sheet or just column A and todays column.

And please never say "another sheet"

We need sheet names.

What is the name of the sheet with your data
What is the name of the sheet where you want this data copied to?
Or do you want the script to create a new sheet. And if so what would the new sheet be named?

See we always need specific details like this.

And I assume the Days like Mon are in Row(1) is that correct?

And why no Friday or Saturday
 
Upvote 0
I also think row(1) columns should have dates in them like 1/7/2018
That way it's easier to fine proper column
If not you will have to reset this every 7 days because the script would not know what column to look for if you had Mon in several different columns in row(1)
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,698
Members
448,979
Latest member
DET4492

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top