<?xml version="1.0" encoding="iso-8859-1" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Dansk Regneark Forum : indsætte Dato og tid i celle</title>
  <link>https://forum.excel-regneark.dk/</link>
  <description><![CDATA[Dette er et XML Feed af; Dansk Regneark Forum : Makro og VBA : indsætte Dato og tid i celle]]></description>
  <pubDate>Sat, 05 Dec 2026 15:02:15 +0000</pubDate>
  <lastBuildDate>Fri, 10 Aug 2018 07:43:50 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.excel-regneark.dk/RSS_post_feed.asp?TID=3572</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Dansk Regneark Forum]]></title>
   <url>https://forum.excel-regneark.dk/css_styles/Excel-regneark.dk/logo.png</url>
   <link>https://forum.excel-regneark.dk/</link>
  </image>
  <item>
   <title><![CDATA[indsætte Dato og tid i celle : Hej Tak for svarene.Det lykkedes...]]></title>
   <link>https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17684.html#17684</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=2277">jas3824</a><br /><strong>Emne:</strong> 3572<br /><strong>Sendt:</strong> 10.Aug.2018 kl. 07:43<br /><br /><div>Hej Tak for svarene.</div><div><br></div><div>Det lykkedes mig heller ikke at få det til at virke ved at skrive&nbsp;<span style=": rgb251, 251, 253;">ActiveCell.Value = Now.</span></div><div><span style=": rgb251, 251, 253;">Men jeg har fundet en anden løsning som jeg har fået til at virke, den er her under.</span></div><div><span style=": rgb251, 251, 253;"><br></span></div><div><br></div><div><div>Sub Udlånt2()</div><div>'</div><div>' Udlånt Makro</div><div>'</div><div><br></div><div>'</div><div>&nbsp; &nbsp; Range("G2").Select</div><div>&nbsp; &nbsp; ActiveCell.FormulaR1C1 = "=NOW()"</div><div>&nbsp; &nbsp; Selection.Copy</div><div>&nbsp; &nbsp; Range("D2").Select</div><div>&nbsp; &nbsp; Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; :=False, Transpose:=False</div><div>&nbsp; &nbsp; Range("A2:D2").Select</div><div>&nbsp; &nbsp; ActiveSheet.Unprotect Password:="XXXXXX"</div><div>&nbsp; &nbsp; Selection.Locked = True</div><div>&nbsp; &nbsp; Selection.FormulaHidden = True</div><div>&nbsp; &nbsp; ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; False, AllowFormattingCells:=False, AllowFormattingColumns:=False, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowFormattingRows:=False, AllowInsertingColumns:=False, AllowInsertingRows _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; :=False, AllowInsertingHyperlinks:=False, AllowDeletingColumns:=False, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowDeletingRows:=False, AllowSorting:=False, AllowFiltering:=False, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowUsingPivotTables:=False, Password:="XXXXXX"</div><div>&nbsp; &nbsp; Range("A3").Select</div><div>End Sub</div><div>Sub Retuneret2()</div><div>'</div><div>' Retuneret Makro</div><div>'</div><div><br></div><div>'</div><div>&nbsp; &nbsp; Range("G2").Select</div><div>&nbsp; &nbsp; ActiveCell.FormulaR1C1 = "=NOW()"</div><div>&nbsp; &nbsp; Selection.Copy</div><div>&nbsp; &nbsp; Range("F2").Select</div><div>&nbsp; &nbsp; Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; :=False, Transpose:=False</div><div>&nbsp; &nbsp; ActiveSheet.Unprotect Password:="XXXXXX"</div><div>&nbsp; &nbsp; Selection.Locked = True</div><div>&nbsp; &nbsp; Selection.FormulaHidden = True</div><div>&nbsp; &nbsp; ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; False, AllowFormattingCells:=True, AllowFormattingColumns:=True, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowFormattingRows:=True, AllowInsertingColumns:=True, AllowInsertingRows _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; :=True, AllowInsertingHyperlinks:=True, AllowDeletingColumns:=True, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowDeletingRows:=True, AllowSorting:=True, AllowFiltering:=True, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowUsingPivotTables:=True, Password:="XXXXXXX"</div><div>&nbsp; &nbsp; Range("A3").Select</div><div>End Sub</div></div>]]>
   </description>
   <pubDate>Fri, 10 Aug 2018 07:43:50 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17684.html#17684</guid>
  </item> 
  <item>
   <title><![CDATA[indsætte Dato og tid i celle : Og du skal nok lige s&#230;tte linjen...]]></title>
   <link>https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17683.html#17683</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=248">excelent</a><br /><strong>Emne:</strong> 3572<br /><strong>Sendt:</strong> 09.Aug.2018 kl. 19:53<br /><br />Og du skal nok lige sætte linjen ind efter du har unprotectet arket]]>
   </description>
   <pubDate>Thu, 09 Aug 2018 19:53:49 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17683.html#17683</guid>
  </item> 
  <item>
   <title><![CDATA[indsætte Dato og tid i celle : Excellent har ret - der skal netop...]]></title>
   <link>https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17682.html#17682</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=732">EXCELGAARD</a><br /><strong>Emne:</strong> 3572<br /><strong>Sendt:</strong> 09.Aug.2018 kl. 15:21<br /><br /><div>Excellent har ret - der skal netop IKKE stå '=NOW()', men i stedet tilskrives værdien 'Now'.</div><div><br></div><div>Så, der, hvor du skriver:</div><div> ActiveCell.FormulaR1C1 = "=NOW()" <br></div><div><br></div><div>Skal du i stedet skrive:</div><div>ActiveCell.Value = Now <br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 09 Aug 2018 15:21:32 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17682.html#17682</guid>
  </item> 
  <item>
   <title><![CDATA[indsætte Dato og tid i celle : Hej.Det har jeg pr&#248;vet og det...]]></title>
   <link>https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17681.html#17681</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=2277">jas3824</a><br /><strong>Emne:</strong> 3572<br /><strong>Sendt:</strong> 09.Aug.2018 kl. 08:17<br /><br />Hej.<div><br></div><div>Det har jeg prøvet og det giver samme resultat.</div><div><br></div><div>Når der står =NOW i en celle ændres datoen i alle celler hvor det står, selv man kun kør makroen i den aktive celle.</div>]]>
   </description>
   <pubDate>Thu, 09 Aug 2018 08:17:05 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17681.html#17681</guid>
  </item> 
  <item>
   <title><![CDATA[indsætte Dato og tid i celle : Pr&#248;v :ActiveCell = Now i stedet...]]></title>
   <link>https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17680.html#17680</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=248">excelent</a><br /><strong>Emne:</strong> 3572<br /><strong>Sendt:</strong> 08.Aug.2018 kl. 20:03<br /><br />Prøv :<br />ActiveCell = Now<br /> i stedet for :<br />ActiveCell.FormulaR1C1 = "=NOW()"]]>
   </description>
   <pubDate>Wed, 08 Aug 2018 20:03:00 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17680.html#17680</guid>
  </item> 
  <item>
   <title><![CDATA[indsætte Dato og tid i celle : Hej.Jeg h&#229;ber at der er nogen...]]></title>
   <link>https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17676.html#17676</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=2277">jas3824</a><br /><strong>Emne:</strong> 3572<br /><strong>Sendt:</strong> 07.Aug.2018 kl. 11:27<br /><br />Hej.<div>Jeg håber at der er nogen der kan hjælpe mig.</div><div><br></div><div>Jeg har tjek skema med flere afkrydsnings felter der hver især skal indsætte dags dato og tid i hver deres celle.</div><div><br></div><div>Jeg kan godt få dato og tid indsat i hver deres celle men hver gang jeg trykke på et nyt afkrydsnings felt ændres dato og tid også i alle de andre celler som er udfyldt tidligere og det skal de ikke.</div><div><br></div><div>Starten af min markroerene som jeg bruger står her under.</div><div><br></div><div><br></div><div><div>Sub Udlånt3()</div><div>'</div><div>' Udlånt1 Makro</div><div>'</div><div><br></div><div>'</div><div>&nbsp; &nbsp; Range("D3").Select</div><div>&nbsp; &nbsp; ActiveCell.FormulaR1C1 = "=NOW()"</div><div>&nbsp; &nbsp; Range("A3:D3").Select</div><div>&nbsp; &nbsp; ActiveSheet.Unprotect Password:="XXXXXXX"</div><div>&nbsp; &nbsp; Selection.Locked = True</div><div>&nbsp; &nbsp; Selection.FormulaHidden = True</div><div>&nbsp; &nbsp; ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; False, AllowFormattingCells:=False, AllowFormattingColumns:=False, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowFormattingRows:=False, AllowInsertingColumns:=False, AllowInsertingRows _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; :=False, AllowInsertingHyperlinks:=False, AllowDeletingColumns:=False, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowDeletingRows:=False, AllowSorting:=False, AllowFiltering:=False, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowUsingPivotTables:=False, Password:="XXXXXXX"</div><div>End Sub</div><div>Sub Retuneret3()</div><div>'</div><div>' Retuneret Makro</div><div>'</div><div><br></div><div>'</div><div>&nbsp; &nbsp; Range("F3").Select</div><div>&nbsp; &nbsp; ActiveCell.FormulaR1C1 = "=NOW()"</div><div>&nbsp; &nbsp; ActiveSheet.Unprotect Password:="XXXXXXX"</div><div>&nbsp; &nbsp; Selection.Locked = True</div><div>&nbsp; &nbsp; Selection.FormulaHidden = True</div><div>&nbsp; &nbsp; ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; False, AllowFormattingCells:=True, AllowFormattingColumns:=True, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowFormattingRows:=True, AllowInsertingColumns:=True, AllowInsertingRows _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; :=True, AllowInsertingHyperlinks:=True, AllowDeletingColumns:=True, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowDeletingRows:=True, AllowSorting:=True, AllowFiltering:=True, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowUsingPivotTables:=True, Password:="XXXXXXXX"</div><div>End Sub</div><div>Sub Udlånt4()</div><div>'</div><div>' Udlånt Makro</div><div>'</div><div><br></div><div>'</div><div>&nbsp; &nbsp; Range("D4").Select</div><div>&nbsp; &nbsp; ActiveCell.FormulaR1C1 = "=NOW()"</div><div>&nbsp; &nbsp; Range("A4:D4").Select</div><div>&nbsp; &nbsp; ActiveSheet.Unprotect Password:="XXXXXXXX"</div><div>&nbsp; &nbsp; Selection.Locked = True</div><div>&nbsp; &nbsp; Selection.FormulaHidden = True</div><div>&nbsp; &nbsp; ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; False, AllowFormattingCells:=False, AllowFormattingColumns:=False, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowFormattingRows:=False, AllowInsertingColumns:=False, AllowInsertingRows _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; :=False, AllowInsertingHyperlinks:=False, AllowDeletingColumns:=False, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowDeletingRows:=False, AllowSorting:=False, AllowFiltering:=False, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowUsingPivotTables:=False, Password:="XXXXXXX"</div><div>End Sub</div><div>Sub Retuneret4()</div><div>'</div><div>' Retuneret Makro</div><div>'</div><div><br></div><div>'</div><div>&nbsp; &nbsp; Range("F4").Select</div><div>&nbsp; &nbsp; ActiveCell.FormulaR1C1 = "=NOW()"</div><div>&nbsp; &nbsp; ActiveSheet.Unprotect Password:="XXXXXXX"</div><div>&nbsp; &nbsp; Selection.Locked = True</div><div>&nbsp; &nbsp; Selection.FormulaHidden = True</div><div>&nbsp; &nbsp; ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; False, AllowFormattingCells:=True, AllowFormattingColumns:=True, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowFormattingRows:=True, AllowInsertingColumns:=True, AllowInsertingRows _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; :=True, AllowInsertingHyperlinks:=True, AllowDeletingColumns:=True, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowDeletingRows:=True, AllowSorting:=True, AllowFiltering:=True, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; AllowUsingPivotTables:=True, Password:="XXXXXXX"</div><div>End Sub</div></div>]]>
   </description>
   <pubDate>Tue, 07 Aug 2018 11:27:06 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/indstte-dato-og-tid-i-celle_topic3572_post17676.html#17676</guid>
  </item> 
 </channel>
</rss>