title image


Smiley Re: XL95 VBA: Systemeinstellungen bez. Datumsformat auslesen ?
Hallo SvenDas Datumsformat kannst Du so auslesen.Private Declare Function GetLocaleInfo Lib "kernel32" Alias "GetLocaleInfoA" (ByVal Locale As Long, _ByVal LCType As Long, ByVal lpLCData As String, ByVal cchData As Long) As LongPrivate Declare Function GetUserDefaultLCID Lib "kernel32" () As LongConst LOCALE_STIMEFORMAT = &H1FSub laender()Dim lcid As LongDim Info As String lcid = GetUserDefaultLCID() Info = String(255, 0) Call GetLocaleInfo(lcid, LOCALE_STIMEFORMAT, Info, 255) Info = Left(Info, InStr(Info, Chr(0)) - 1) MsgBox InfoEnd SubViele GrüsseThomas
Gruß
Thomas


geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: