{"text_format":"1","workbook":"xlsx","n_sheets":6,"sheets":["Timeseddel","Vejledning","T","Setup","Ark3","Ark1"],"not_rendered":{"charts":0,"images":10,"macros":1,"external_links":0,"defined_names":2,"comments":1,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Timeseddel","index":0,"n_rows":40,"n_cols":9,"rows_kept":40,"cut":false,"hidden":false,"merged":[[18,4,18,7],[19,4,19,7],[20,4,20,7],[21,4,21,7],[13,4,13,7],[14,4,14,7],[15,4,15,7],[16,4,16,7],[17,4,17,7],[7,4,7,7],[9,4,9,7],[10,4,10,7],[11,4,11,7],[12,4,12,7],[28,4,28,7],[29,4,29,7],[30,4,30,7],[31,4,31,7],[39,4,39,7],[23,4,23,7],[24,4,24,7],[25,4,25,7],[26,4,26,7],[27,4,27,7],[39,2,39,3],[32,2,32,3],[33,2,33,3],[34,2,34,3],[35,2,35,3],[36,2,36,3],[30,2,30,3],[31,2,31,3],[37,4,37,7],[37,2,37,3],[38,2,38,3],[32,4,32,7],[38,4,38,7],[33,4,33,7],[34,4,34,7],[35,4,35,7],[36,4,36,7],[25,2,25,3],[26,2,26,3],[27,2,27,3],[28,2,28,3],[29,2,29,3],[20,2,20,3],[21,2,21,3],[22,2,22,3],[23,2,23,3],[24,2,24,3],[1,0,1,3],[5,1,5,3],[22,4,22,7],[3,0,3,3],[7,2,7,3],[9,2,9,3],[10,2,10,3],[11,2,11,3],[12,2,12,3],[13,2,13,3],[14,2,14,3],[15,2,15,3],[16,2,16,3],[17,2,17,3],[18,2,18,3],[19,2,19,3]]}
[]
[{"$f":"T!M1","v":"Din virksomheds navn"}]
[]
["Registrering af arbejdstid"]
[]
["Navn : ","Dit navn",null,null,"År:",2024,"Måned: ","Oktober",{"$f":"IF(H6=\"Januar\",1,IF(H6=\"Februar\",2,IF(H6=\"Marts\",3,IF(H6=\"April\",4,IF(H6=\"Maj\",5,IF(H6=\"Juni\",6,IF(H6=\"Juli\",7,IF(H6=\"August\",8,IF(H6=\"September\",9,IF(H6=\"Oktober\",10,IF(H6=\"November\",11,IF(H6=\"December\",12,\"\"))))))))))))","v":10}]
[]
["Dato","Dag","Daglig arbejdstid",null,"Bemærkninger"]
[]
[{"$f":"DATE(F6,I6,1)","v":"2024-10-01"},{"$f":"IFERROR(CHOOSE(WEEKDAY(A10,11),\"Ma\",\"Ti\",\"On\",\"To\",\"Fr\",\"Lø\",\"Sø\"),\"\")","v":"Ti"}]
[{"$f":"A10+1","v":"2024-10-02"},{"$f":"IFERROR(CHOOSE(WEEKDAY(A11,11),\"Ma\",\"Ti\",\"On\",\"To\",\"Fr\",\"Lø\",\"Sø\"),\"\")","v":"On"}]
[{"$f":"A11+1","v":"2024-10-03"},{"$f":"IFERROR(CHOOSE(WEEKDAY(A12,11),\"Ma\",\"Ti\",\"On\",\"To\",\"Fr\",\"Lø\",\"Sø\"),\"\")","v":"To"}]
["2024-10-04","Fr"]
["2024-10-05","Lø"]
["2024-10-06","Sø"]
["2024-10-07","Ma"]
[{"$f":"A16+1","v":"2024-10-08"},"Ti"]
["2024-10-09","On"]
["2024-10-10","To"]
["2024-10-11","Fr"]
["2024-10-12","Lø"]
["2024-10-13","Sø",4]
["2024-10-14","Ma"]
["2024-10-15","Ti"]
["2024-10-16","On"]
["2024-10-17","To"]
["2024-10-18","Fr"]
["2024-10-19","Lø"]
["2024-10-20","Sø"]
["2024-10-21","Ma"]
["2024-10-22","Ti"]
["2024-10-23","On"]
["2024-10-24","To"]
["2024-10-25","Fr"]
["2024-10-26","Lø"]
["2024-10-27","Sø"]
["2024-10-28","Ma"]
[{"$f":"IF(A37+1>EOMONTH(A10,0),\"\",A37+1)","v":"2024-10-29"},"Ti"]
[{"$f":"IFERROR(IF(A38+1>EOMONTH(A11,0),\"\",A38+1),\"\")","v":"2024-10-30"},"On"]
[{"$f":"IFERROR(IF(A39+1>EOMONTH(A12,0),\"\",A39+1),\"\")","v":"2024-10-31"},"To"]

{"sheet":"Vejledning","index":1,"n_rows":39,"n_cols":2,"rows_kept":39,"cut":false,"hidden":false,"merged":[]}
[]
[null,"Bruger vejledning til Registering af arbejdstid"]
[]
[null,"Gem Og Send registeringen som PDF"]
[]
[null,"Denne knap bruges når man har udfyldt den sidste dag i måneden,"]
[null,"så gemmer den registreringen som en PDF fil og Sender den til regnskabsføreren."]
[null,"Husk at tilføje de andre månedere. (Hvis de ikke indsendes løbende hver måned)"]
[]
[null,"Udskriv Registeringen"]
[]
[null,"Denne knap udskriver registeringen på printeren."]
[]
[null,"Skift mail-modtager og mail-besked"]
[]
[null,"Ved at bruge denne knap kan du ændre den mail som registeringen vil blive sendt til"]
[null,"Man kan også skrive den tekst der skal stå i mailen"]
[null,"så behøver man kun at lave det en gang."]
[]
[null,"Gem og Luk"]
[]
[null,"Denne knap bruges når man løbende indtaster timerne - den gemmer og lukker arket."]
[]
[null,"Skift Lagringsmappe"]
[]
[null,"Med denne knap kan man bestemme hvor den skal gemme registeringen så man har den til en anden gang."]
[]
[null,"Åben Lagringsmappen"]
[]
[null,"Med denne knap kan man åbne den mappe hvor man har gemt sine registeringere."]
[]
[null,"Opret PDF"]
[]
[null,"Ved at klikke på denne knap opretter man en PDF fil af registeringen."]
[null,"Så man har den til man skal indsende den. (hvis man ikke skal indsende dem løbende)"]
[]
[null,"Slet Data"]
[]
[null,"Sletter data på arket så det er klar til en ny måned."]

{"sheet":"T","index":2,"n_rows":14,"n_cols":13,"rows_kept":14,"cut":false,"hidden":false,"merged":[[0,3,0,4],[0,0,0,1],[0,8,1,9]]}
[null,null,null,"Norm",null,null,null,null,"Omregning af \nminutter til timer",null,null,"Virksomhed : ","Din virksomheds navn"]
["Januar",1,null,"Mandag",7]
["Februar",2,null,"Tirsdag",8,null,null,null,"5 min",0.08]
["Marts",3,null,"Onsdag",8,null,null,null,"10 min",0.17]
["April",4,null,"Torsdag",8,null,null,null,"15 min",0.25]
["Maj",5,null,"Fredag",6,null,null,null,"20 min",0.33]
["Juni",6,null,"Lørdag",0,null,null,null,"25 min",0.42]
["Juli",7,null,"Søndag",0,null,null,null,"30 min",0.5]
["August",8,null,null,{"$f":"SUM(E2:E8)","v":37},null,null,null,"35 min",0.57999999999999996]
["September",9,null,null,null,null,null,null,"40 min",0.67]
["Oktober",10,null,null,null,null,null,null,"45 min",0.75]
["November",11,null,null,null,null,null,null,"50 min",0.83]
["December",12,null,null,null,null,null,null,"55 min",0.92]
[null,null,null,null,null,null,null,null,"60 min",1]

{"sheet":"Setup","index":3,"n_rows":12,"n_cols":3,"rows_kept":12,"cut":false,"hidden":false,"merged":[[0,3,0,4],[8,0,9,0]]}
["Til","bjarne-hansen@outlook.dk","B1"]
["Cc",null,"B2"]
["Bcc",null,"B3"]
["Emne linjen",{"$f":"\"Registrering af arbejdstid - \"&Timeseddel!B6&\" - År : \"&Timeseddel!F6&\" - Måned : \"&Timeseddel!H6","v":"Registrering af arbejdstid - Dit navn - År : 2024 - Måned : Oktober"},"B4"]
["Lagrings Mappe sti","E:\\","B5"]
["PDF gemme navn",{"$f":"IF(Timeseddel!I6>9,Timeseddel!B6&\" - \"&\"Registrering af arbejdstid - \"&Timeseddel!F6&\" - \"&Timeseddel!I6&\" - \"&Timeseddel!H6,Timeseddel!B6&\" - \"&\"Registrering af arbejdstid - \"&Timeseddel!F6&\" - 0\"&Timeseddel!I6&\" - \"&Timeseddel!H6)","v":"Dit navn - Registrering af arbejdstid - 2024 - 10 - Oktober"},"B6"]
[null,null,"B7"]
[null,null,"B8"]
[]
[]
[]
["Mail tekst","Hej .\r\n\r\nJeg sender hermed min registrering af timer.\r\n\r\nMed venlig hilsen\r\n\r\n\r\n\r\n","B12"]

{"sheet":"Ark3","index":4,"n_rows":0,"n_cols":0,"rows_kept":0,"cut":false,"hidden":true,"merged":[]}

{"sheet":"Ark1","index":5,"n_rows":53,"n_cols":1,"rows_kept":53,"cut":false,"hidden":true,"merged":[]}
["Clear Cells in Excel of a range or Worksheet using VBA- Solution(s):"]
[]
["We can clear Cells or a Range using Clear Method OR ClearContents Method of a Range or Cell. Clear will Clear the data and Formats of the given Range or Cells. And ClearContents will clear only the data, will not clear any formats."]
[]
["Clear Cells Range data in Excel Worksheet using VBA – An Example"]
[]
["The following examples will show you how clear the data of Cells, Range or entire worksheet using Clear and ClearContents Methods."]
[]
["Clearing a Cells/Range using Clear Method"]
[]
["This method will clear the range of cells including Formats:"]
[]
["Sub sbClearCells()"]
["Range(\"A1:C10\").Clear"]
["End Sub"]
[]
["Clearing Only Data of a Range using ClearContents Method"]
[]
["This method will clear only clear the content or data of the range not formats (Formats remain same)"]
[]
["Sub sbClearCellsOnlyData()"]
["Range(\"A1:C10\").ClearContents"]
["End Sub"]
[]
["Clearing Entire Worksheet using Clear Method"]
[]
["This method will clear entire worksheet including formats."]
[]
["Sub sbClearEntireSheet()"]
["Sheets(\"SheetName\").Cells.Clear"]
["End Sub"]
[]
["Clearing Only Data from Worksheet using ClearContents Method"]
[]
["This method will clear only data of worksheet, not formats."]
[]
["Sub sbClearEntireSheetOnlyData()"]
["Sheets(\"SheetName\").Cells.ClearContents"]
["End Sub"]
[]
["Instructions:"]
[]
["1. Open an excel workbook"]
["2. Enter some data in Sheet1 at A1:C10"]
["3. Press Alt+F11 to open VBA Editor"]
["4. Insert a Module for Insert Menu"]
["5. Copy the above code and Paste in the code window"]
["6. Save the file as macro enabled workbook"]
["7. Press F5 to run it"]
[]
["Conclusion:"]
[]
["Both Clear and ClearContents are useful based on your requirement. If you want to Clear only the Content, use ClearContent method. If you want Clear everything (Content and Formats), use Clear method."]