Userform

Willem48

New Member
Joined
May 31, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Web
Met VBA UserForm laden met datum uit Excel werkblad, datum dan veranderen in UserForm en weer in Excelwerkblad terugschrijven met VBA ; hoe moet het format ingestel worden om steeds europees datum notatie te behouden. Dit alles met vba in excel .
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
With VBA UserForm load with date from Excel worksheet, then change date in UserForm and write back in Excel worksheet with VBA ; how to set the format to always keep european date notation. All this with vba in excel.

As I understand this question: When VBA UserForm.load extracts date from Excel worksheet, then I want to change date in the UserForm and write it back in Excel worksheet using VBA.
How do I set the date format using VBA to always keep european date notation.

Zoals ik deze vraag begrijp: wanneer VBA UserForm.load de datum uit het Excel-werkblad extraheert, wil ik de datum in het UserForm wijzigen en deze terugschrijven in het Excel-werkblad met VBA. Hoe stel ik de datumnotatie in met VBA om altijd de Europese datumnotatie te behouden.
or Afrikaans: Soos ek hierdie vraag verstaan: Wanneer VBA UserForm.load-uittreksels uit Excel-werkblad dateer, wil ek die datum in die UserForm verander en dit terugskryf in Excel-werkblad met VBA. Hoe stel ek die datumformaat in met behulp van VBA om altyd europese datumnotasie te hou.
 
Upvote 0
Ik denk dat het antwoord zou zijn om het formaat als volgt in te stellen:
VBA Code:
    Rage(MijnBereik).NumberFormat = "dd-mm-yyyy"
 
Upvote 0
Solution

Forum statistics

Threads
1,223,923
Messages
6,175,410
Members
452,640
Latest member
steveridge

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