a little help

ahmed elsery

New Member
Joined
Oct 17, 2022
Messages
7
Office Version
  1. 2016
Platform
  1. Windows
hello guys
so i've made a program on vba
i just need it to full the date on 1st surv date and 2nd surv date and calculate the time left for it
as i've done in sheet but sheet only appears when i search

i want to make it when i write the date in Issue Date text box
auto calculate the date before i even add the client to my sheet
as for example :

Company Name : as
Issue date : 15/2/2022
so the userform auto calculate 1st surv = issue date + 1 year --- time left = 365 day
2nd surv = issue date + 2 years ----- time left = 730 day
expire date = issue date + 3 years ------- time left = 1095 day

is that possible ?

the attached excel sheet is example of how i did it in excel sheet

i want to remove it and textboxes auto calculate
 

Attachments

  • Untitled3.png
    Untitled3.png
    141.5 KB · Views: 5
  • Untitled4.png
    Untitled4.png
    78.5 KB · Views: 4

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,214,787
Messages
6,121,558
Members
449,038
Latest member
Guest1337

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