VBA Inputbox Greater Than Date and Time

vbanewbie68

Board Regular
Joined
Oct 16, 2021
Messages
171
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi

I get the raw data weekly and want to put it into a macro to pop up an inputbox of Date 'last_modified at' column G. So I would like to add the date and this will select the data.

I then copy all selected data and paste it into a new workbook.

VBA Inputbox would be similar to the process stated above, please see the attached. Ideally Greater than would be preferable in the Inputbox.

I have attached some dummy data and the date to enter is 2022-10-27T15:59:29 UTC. This will allow me to select data. I can use any date and that is the opening date for me to choose from. I am not sure how to create an inputbox like the screenshot below and then to create a new workbook for copy and paste?

We get weekly data like the attached image shows, the data amount varies from week to week.
 

Attachments

  • Capture 2.PNG
    Capture 2.PNG
    4.2 KB · Views: 7
  • Capture 1.PNG
    Capture 1.PNG
    65.5 KB · Views: 8

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,213,530
Messages
6,114,163
Members
448,554
Latest member
Gleisner2

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