<?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 : Macro virker ikke i protected sheet</title>
  <link>https://forum.excel-regneark.dk/</link>
  <description><![CDATA[Dette er et XML Feed af; Dansk Regneark Forum : Makro og VBA : Macro virker ikke i protected sheet]]></description>
  <pubDate>Sat, 05 Dec 2026 14:19:39 +0000</pubDate>
  <lastBuildDate>Sun, 18 Feb 2018 14:30: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=3367</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[Macro virker ikke i protected sheet :  Var det noget, der kunne bruges...]]></title>
   <link>https://forum.excel-regneark.dk/macro-virker-ikke-i-protected-sheet_topic3367_post16679.html#16679</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=856">zpjj</a><br /><strong>Emne:</strong> 3367<br /><strong>Sendt:</strong> 18.Feb.2018 kl. 14:30<br /><br />Var det noget, der kunne bruges ?<div>&nbsp;</div><div>Det kunne være rart med lidt response !!!</div>]]>
   </description>
   <pubDate>Sun, 18 Feb 2018 14:30:31 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/macro-virker-ikke-i-protected-sheet_topic3367_post16679.html#16679</guid>
  </item> 
  <item>
   <title><![CDATA[Macro virker ikke i protected sheet :  Pr&#248;v at inds&#230;tte nedenst&#229;ende...]]></title>
   <link>https://forum.excel-regneark.dk/macro-virker-ikke-i-protected-sheet_topic3367_post16666.html#16666</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=856">zpjj</a><br /><strong>Emne:</strong> 3367<br /><strong>Sendt:</strong> 15.Feb.2018 kl. 09:58<br /><br />Prøv at indsætte nedenstående kode i start og slutning&nbsp;af din macro.<div></div>ActiveSheet.Unprotect "password"<div>&nbsp;</div><div>DIN MACRO</div><div>&nbsp;</div><div>ActiveSheet.Protect "password"</div><div>&nbsp;</div><div>Håber det løser dit problem.</div>]]>
   </description>
   <pubDate>Thu, 15 Feb 2018 09:58:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/macro-virker-ikke-i-protected-sheet_topic3367_post16666.html#16666</guid>
  </item> 
  <item>
   <title><![CDATA[Macro virker ikke i protected sheet : Hej alle,Jeg st&#229;r i den situation...]]></title>
   <link>https://forum.excel-regneark.dk/macro-virker-ikke-i-protected-sheet_topic3367_post16664.html#16664</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=1859">Refer94</a><br /><strong>Emne:</strong> 3367<br /><strong>Sendt:</strong> 15.Feb.2018 kl. 08:23<br /><br />Hej alle,<div><br></div><div>Jeg står i den situation at mine macro'er ikke vil virke når jeg protecter mit sheet på nær 1. Jeg har i alt 5 macroer 2 engelsk 2 dansk som gør det samme, men excel kan ikke oversætte ordenligt og så 1 virkelig simpel print macro som virker. Håber i kan hjælpe, sig endelig til hvis i skal bruge arket, poster bare koden.</div><div><br></div><div><div>Sub PrintMultipleWorksheets()</div><div>'</div><div>'Prints TitlePage and PrintPage</div><div>'</div><div>Worksheets(Array("TitlePage", "PrintPage")).PrintOut</div><div><br></div><div>End Sub</div></div><div><br></div><div>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br></div><div><div>Sub PressureDrop_Parallel_eng()</div><div>'</div><div>' PressureDrop_Parallel_eng Macro</div><div>'</div><div><br></div><div>'</div><div>&nbsp; &nbsp; SolverReset</div><div>&nbsp; &nbsp; SolverOk SetCell:="$BN$4", MaxMinVal:=3, ValueOf:=0, ByChange:="$BL$4:$BL$7", _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Engine:=1, EngineDesc:="GRG Nonlinear"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BN$5", Relation:=2, FormulaText:="0"</div><div>&nbsp; &nbsp; SolverOk SetCell:="$BN$4", MaxMinVal:=3, ValueOf:=0, ByChange:="$BL$4:$BL$7", _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Engine:=1, EngineDesc:="GRG Nonlinear"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BN$6", Relation:=2, FormulaText:="0"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BN$7", Relation:=2, FormulaText:="0"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BN$8", Relation:=2, FormulaText:="0"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$4", Relation:=1, FormulaText:="$BL$10"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$4", Relation:=3, FormulaText:="$BL$11"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$5", Relation:=1, FormulaText:="$BL$12"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$5", Relation:=3, FormulaText:="$BL$13"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$6", Relation:=1, FormulaText:="$BL$14"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$6", Relation:=3, FormulaText:="$BL$15"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$7", Relation:=1, FormulaText:="$BL$16"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$7", Relation:=3, FormulaText:="$BL$17"</div><div>&nbsp; &nbsp; SolverOk SetCell:="$BN$4", MaxMinVal:=3, ValueOf:=0, ByChange:="$BL$4:$BL$7", _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Engine:=1, EngineDesc:="GRG Nonlinear"</div><div>&nbsp; &nbsp; SolverOk SetCell:="$BN$4", MaxMinVal:=3, ValueOf:=0, ByChange:="$BL$4:$BL$7", _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Engine:=1, EngineDesc:="GRG Nonlinear"</div><div>&nbsp; &nbsp; SolverSolve userFinish:=True</div><div>&nbsp; &nbsp;&nbsp;</div><div>End Sub</div></div><div><br></div><div>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br></div><div><div>Sub PressureDrop_Parallel_dk()</div><div>'</div><div>' PressureDrop_Parallel_dk Makro</div><div>'</div><div><br></div><div>'</div><div>&nbsp; &nbsp; SolverReset</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BN$5", Relation:=2, FormulaText:="0"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BN$6", Relation:=2, FormulaText:="0"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BN$7", Relation:=2, FormulaText:="0"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BN$8", Relation:=2, FormulaText:="0"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$4", Relation:=1, FormulaText:="$BL$10"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$4", Relation:=3, FormulaText:="$BL$11"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$5", Relation:=1, FormulaText:="$BL$12"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$5", Relation:=3, FormulaText:="$BL$13"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$6", Relation:=1, FormulaText:="$BL$14"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$6", Relation:=3, FormulaText:="$BL$15"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$7", Relation:=1, FormulaText:="$BL$16"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BL$7", Relation:=3, FormulaText:="$BL$17"</div><div>&nbsp; &nbsp; SolverOk SetCell:="$BN$4", MaxMinVal:=3, ValueOf:=0, ByChange:="$BL$4:$BL$7", _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Engine:=1, EngineDesc:="GRG ikke-lineær"</div><div>&nbsp; &nbsp; SolverSolve userFinish:=True</div><div>End Sub</div></div><div><br></div><div>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br></div><div><div>Sub PressureDrop_Loop_eng()</div><div>'</div><div>' PressureDrop_Loop_eng Macro</div><div>'</div><div><br></div><div>&nbsp; &nbsp; SolverReset</div><div>&nbsp; &nbsp; SolverOk SetCell:="$BX$17", MaxMinVal:=3, ValueOf:=0, ByChange:="$BX$21:$BX$23" _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; , Engine:=1, EngineDesc:="GRG Nonlinear"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$21", Relation:=1, FormulaText:="$BS$16"</div><div>&nbsp; &nbsp; SolverOk SetCell:="$BX$17", MaxMinVal:=3, ValueOf:=0, ByChange:="$BX$21:$BX$23" _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; , Engine:=1, EngineDesc:="GRG Nonlinear"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$21", Relation:=3, FormulaText:="$BS$17"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$22", Relation:=1, FormulaText:="$BS$16"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$22", Relation:=3, FormulaText:="$BS$17"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$23", Relation:=1, FormulaText:="$BS$16"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$23", Relation:=3, FormulaText:="$BS$17"</div><div>&nbsp; &nbsp; SolverOk SetCell:="$BX$17", MaxMinVal:=3, ValueOf:=0, ByChange:="$BX$21:$BX$23" _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; , Engine:=1, EngineDesc:="GRG Nonlinear"</div><div>&nbsp; &nbsp; SolverOk SetCell:="$BX$17", MaxMinVal:=3, ValueOf:=0, ByChange:="$BX$21:$BX$23" _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; , Engine:=1, EngineDesc:="GRG Nonlinear"</div><div>&nbsp; &nbsp; SolverSolve userFinish:=True</div><div>End Sub</div></div><div><br></div><div>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br></div><div><div>Sub PressureDrop_Loop_dk()</div><div>'</div><div>' PressureDrop_Loop_dk Makro</div><div>'</div><div><br></div><div>'</div><div>&nbsp; &nbsp; SolverReset</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$21", Relation:=1, FormulaText:="$BS$16"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$21", Relation:=3, FormulaText:="$BS$17"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$22", Relation:=1, FormulaText:="$BS$16"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$22", Relation:=3, FormulaText:="$BS$17"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$23", Relation:=1, FormulaText:="$BS$16"</div><div>&nbsp; &nbsp; SolverAdd CellRef:="$BX$23", Relation:=3, FormulaText:="$BS$17"</div><div>&nbsp; &nbsp; SolverOk SetCell:="$BX$17", MaxMinVal:=3, ValueOf:=0, ByChange:="$BX$21:$BX$23" _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; , Engine:=1, EngineDesc:="GRG ikke-lineær"</div><div>&nbsp; &nbsp; SolverSolve userFinish:=True</div><div>End Sub</div></div>]]>
   </description>
   <pubDate>Thu, 15 Feb 2018 08:23:01 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/macro-virker-ikke-i-protected-sheet_topic3367_post16664.html#16664</guid>
  </item> 
 </channel>
</rss>