This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | strUnixtime = Math.Round((DateTime.UtcNow - New DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds).ToString | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Dim CHARS As String = "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ" | |
| Dim CHAR_NUM As Integer = CHARS.Length | |
| encoded = "" | |
| dim fid as Int64 = Convert.ToInt64(photoid) | |
| While fid >= CHAR_NUM | |
| Dim divx As Int64 | |
| Dim modx As Int64 | |
| divx = Math.DivRem(fid, CHAR_NUM, modx) | |
| encoded = CHARS(CInt(modx)) & encoded | |
| fid = divx | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | arrDetails = strDetails.Split(Environment.NewLine.ToCharArray) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | intWeekNumber = System.Globalization.CultureInfo.InvariantCulture.Calendar.GetWeekOfYear(Datetime.Now, System.Globalization.CalendarWeekRule.FirstFourDayWeek,DayOfWeek.Monday) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | dtResponse = Newtonsoft.Json.JsonConvert.DeserializeObject(Of DataTable)(strResponse) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | strID = System.Text.RegularExpressions.Regex.Replace(strID, "[^0-9a-zA-Z]+", "") | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | dt = dt.asenumerable.tolist.foreach(sub(row) row(“Yourcolumnname”)= cint(row(“Yourcolumnname”))) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ExtractDataTable = ExtractDataTable.AsEnumerable().GroupBy(Function(i) i.Field(Of String)(“Mobiltelefon”)).Select(Function(g) g.First).CopyToDataTable | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | array_double_values = Array.ConvertAll(array_string_values, Function(input As String) Double.Parse(input)) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ' Quelle definieren | |
| Dim wks1, wks2, wks3 As Worksheet | |
| Set wks1 = ThisWorkbook.Sheets("Report") | |
| Dim tableRange As Range | |
| Set tableRange = wks1.UsedRange | |
| wks1.ListObjects.Add(SourceType:=xlSrcRange, Source:=tableRange, xlListObjectHasHeaders:=xlYes).Name = "ReportDaten" | |
| ' Pivot erstellen | |
| Dim pc1, pc2 As PivotCache | |
| Dim pv1, pv2 As PivotTable | 
NewerOlder