Help with dates

JHogan0721

New Member
Joined
Dec 7, 2016
Messages
12
Alright guys, I'm pretty new to VBA and am working on a fairly simple userform to display data from multiple sheets in one place.

I need help with one aspect, I need to convert days of the week to actual dates. The trick is I need to find the next available day of the week based on today's date. This sounds confusing so I have an example.

This is for a product ordering system.

I want to display an order process date and a warehouse pull date.

In the example - today refers to the day I'm entering the order and will not be displayed in the userform.

Ex: If I am entering an order today and it processes on a wednesday I need the display to show the date of the next wednesday after today

If the order pull day is friday then I need to display the date of the next friday following the order day.

Both process and pull days will be pulled from a worksheet with a vlookup and are defined in the worksheet only by the day of the week.

Thanks in advance
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Unfortunately it wont work. The issue would be if I entered an order on monday and it processed on a tuesday, I would want the date to show for tuesday. For example: i input an order on Monday 1/1, the order processes on a tuesday so 1/2 would be the next available tuesday. I would want to have 1/2 auto populate as the date. Again, both process and pull day are only defined by day of the week within the master sheet.
 
Upvote 0
When you enter the date what is in the sheet to show the actual processing day? Cell references and ideally a sample of your data would also help.
 
Upvote 0
Hello,

Why not applying the +7 to your ' processed date ' ...
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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