<?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 : Ophævelse af beskyttet celle via VBA</title>
  <link>https://forum.excel-regneark.dk/</link>
  <description><![CDATA[Dette er et XML Feed af; Dansk Regneark Forum : Makro og VBA : Ophævelse af beskyttet celle via VBA]]></description>
  <pubDate>Sat, 05 Dec 2026 16:37:00 +0000</pubDate>
  <lastBuildDate>Thu, 21 Feb 2013 09:05:31 +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=1106</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[Ophævelse af beskyttet celle via VBA :         Nej ikke dumme...]]></title>
   <link>https://forum.excel-regneark.dk/ophvelse-af-beskyttet-celle-via-vba_topic1106_post5366.html#5366</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=81">Bjarne</a><br /><strong>Emne:</strong> 1106<br /><strong>Sendt:</strong> 21.Feb.2013 kl. 09:05<br /><br /><img src="/smileys/smiley31.gif" height="17" width="45" border="0" alt="Hug" title="Hug" /><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>Nej ikke dumme dig! </DIV><DIV>Fandt ud af det, da jeg så din løsning.</DIV><DIV>Fungerer fint, men jeg fandt en lille tilknyttet problemstilling, som jeg ikke havde taget i ed.</DIV><DIV>&nbsp;</DIV><DIV>Prøver lige at løse det selv, ellers vil jeg gerne have mulighed for at vende tilbage.</DIV><DIV>&nbsp;</DIV><DIV>Med venlig hilsen</DIV>]]>
   </description>
   <pubDate>Thu, 21 Feb 2013 09:05:31 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/ophvelse-af-beskyttet-celle-via-vba_topic1106_post5366.html#5366</guid>
  </item> 
  <item>
   <title><![CDATA[Ophævelse af beskyttet celle via VBA : HOV!Kommer lige til at se, at...]]></title>
   <link>https://forum.excel-regneark.dk/ophvelse-af-beskyttet-celle-via-vba_topic1106_post5350.html#5350</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=732">EXCELGAARD</a><br /><strong>Emne:</strong> 1106<br /><strong>Sendt:</strong> 20.Feb.2013 kl. 08:20<br /><br />HOV!<br><br>Kommer lige til at se, at der vist har indsneget sig en lille Too-Many-fingers-On-The-Keyboard fejl!<br><br>De tre 'IF' linjer skal selvfølgelig slutte med = False<br><br>Dummy mig, men håber du selv fik øje på det...<br>]]>
   </description>
   <pubDate>Wed, 20 Feb 2013 08:20:40 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/ophvelse-af-beskyttet-celle-via-vba_topic1106_post5350.html#5350</guid>
  </item> 
  <item>
   <title><![CDATA[Ophævelse af beskyttet celle via VBA : Pr&#248;v med denne: Private Sub Worksheet_Change(ByVal...]]></title>
   <link>https://forum.excel-regneark.dk/ophvelse-af-beskyttet-celle-via-vba_topic1106_post5343.html#5343</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=732">EXCELGAARD</a><br /><strong>Emne:</strong> 1106<br /><strong>Sendt:</strong> 19.Feb.2013 kl. 11:56<br /><br />Prøv med denne:<br><table width="99%"><tr><td><pre class="BBcode">Private Sub Worksheet_Change(ByVal Target As Range)<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.Unprotect<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Range("A:B,D:D,G:G,K:M").Locked = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Range("C" &amp; Target.Row).Value = 1 Then Range("K" &amp; Target.Row).Locked = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Range("C" &amp; Target.Row).Value = 2 Then Range("L" &amp; Target.Row).Locked = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Range("C" &amp; Target.Row).Value = 3 Then Range("M" &amp; Target.Row).Locked = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Me.Protect<br><br>End Sub</pre></td></tr></table><br>]]>
   </description>
   <pubDate>Tue, 19 Feb 2013 11:56:38 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/ophvelse-af-beskyttet-celle-via-vba_topic1106_post5343.html#5343</guid>
  </item> 
  <item>
   <title><![CDATA[Ophævelse af beskyttet celle via VBA : Hj&#230;lp til formel i VBA (Bruger...]]></title>
   <link>https://forum.excel-regneark.dk/ophvelse-af-beskyttet-celle-via-vba_topic1106_post5341.html#5341</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=81">Bjarne</a><br /><strong>Emne:</strong> 1106<br /><strong>Sendt:</strong> 19.Feb.2013 kl. 11:17<br /><br /><P style="MARGIN: 0cm 0cm 10pt" =Ms&#111;normal><FONT size=3 face=Calibri>Hjælp til formel i VBA (Bruger Excel 2007)</FONT></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><U><FONT size=3><FONT face=Calibri>Funktions Forklaring:<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></U></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><U><o:p><SPAN style="TEXT-DECORATI&#079;N: n&#111;ne"><FONT size=3 face=Calibri>&nbsp;</FONT></SPAN></o:p></U></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>Kolonnerne <B style="mso-bidi-font-weight: normal">A,B,D</B> og <strong>G</strong> samt kolonne <B style="mso-bidi-font-weight: normal">K,L og M</B>, er skrive beskyttet</FONT></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>Kolonne <strong>C</strong> og <strong>E</strong> skal indsættes med talværdier. </FONT></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>I kolonne C må værdien være min. 1 eller max. 3</FONT></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>I <strong>Ark 1</strong> bruger jeg <strong>Tab</strong> til at springe over de beskyttede celler.</FONT></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><U><o:p><SPAN style="TEXT-DECORATI&#079;N: n&#111;ne"><FONT size=3 face=Calibri>&nbsp;</FONT></SPAN></o:p></U></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>I Ark 1 er der opført en : <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>“Private Sub Worksheet_Change (By Val Target As Range)”</FONT></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><FONT size=3><FONT face=Calibri>If Range (”C” &amp; Target.Row).Value = 1 Then <B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal">”herfra har jeg brug for hjælp”</I></B></FONT></FONT></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>Så skal beskyttelsen KUN ophæves i Range (”K” &amp; Target.Row)<o:p></o:p></FONT></FONT></I></B></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></I></B></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><FONT size=3><FONT face=Calibri>If Range (”C” &amp; Target.Row).Value = 2 Then <B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal">”herfra har jeg brug for hjælp”</I></B></FONT></FONT></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>Så skal beskyttelsen KUN ophæves i Range (”L” &amp; Target.Row)<o:p></o:p></FONT></FONT></I></B></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><FONT size=3><FONT face=Calibri>If Range (”C” &amp; Target.Row).Value = 3 Then <B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal">”herfra har jeg brug for hjælp”</I></B></FONT></FONT></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>Så skal beskyttelsen KUN ophæves i Range (”M” &amp; Target.Row)<o:p></o:p></FONT></FONT></I></B></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><B style="mso-bidi-font-weight: normal"><I style="mso-bidi-font-style: normal"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></I></B></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><FONT size=3 face=Calibri>Kan det lade sig gøre eller er jeg helt forkert på den?</FONT></P>]]>
   </description>
   <pubDate>Tue, 19 Feb 2013 11:17:08 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/ophvelse-af-beskyttet-celle-via-vba_topic1106_post5341.html#5341</guid>
  </item> 
 </channel>
</rss>