<?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 : run-time error&quot;-214717848&quot;:(80010108)         </title>
  <link>https://forum.excel-regneark.dk/</link>
  <description><![CDATA[Dette er et XML Feed af; Dansk Regneark Forum : Makro og VBA : run-time error&quot;-214717848&quot;:(80010108)         ]]></description>
  <pubDate>Sat, 05 Dec 2026 12:38:49 +0000</pubDate>
  <lastBuildDate>Fri, 26 Mar 2021 10:05:25 +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=4505</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[run-time error&quot;-214717848&quot;:(80010108)          : Hej Alle,Jeg har et problem, med...]]></title>
   <link>https://forum.excel-regneark.dk/runtime-error21471784880010108_topic4505_post22430.html#22430</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=2803">Tor4Every1</a><br /><strong>Emne:</strong> 4505<br /><strong>Sendt:</strong> 26.Mar.2021 kl. 10:05<br /><br />Hej Alle,&nbsp;&nbsp;<div><br></div><div>Jeg har et problem, med at jeg får&nbsp;</div><div><br></div><div>"Run-time error" - 214717848":(80010108)</div><div>Automation error</div><div>Objektet er frakoblet dets klienter</div><div><br></div><div>Når jeg indsætter ny række,&nbsp;og skriver f.eks. i det nye række under kollonne a skriver et navn og prøver at indsætte ny linje igen .. . så kommer "Run-time error" igen.. og lukker</div><div><br></div><div>Når jeg trykker debug, rammer den min formel&nbsp;</div><div><br></div><div>Selection.Insert Shift:=xlDown</div><div><br></div><div>Har uploadet mit eksempel på problemet.&nbsp; håber i kan hjælpe.&nbsp;</div><div><br></div><div><a href="uploads/2803/Eksempel.xlsm" target="_blank" rel="nofollow">uploads/2803/Eksempel.xlsm</a><br></div><div><br></div><div>på forhånd tak.&nbsp;</div><div><br></div><div>Kode:&nbsp;</div><div><br></div><div><div><font color="#0033ff">Sub Tilføj_linje_tilbud111()</font></div><div><font color="#0033ff">'Opretter en ny linje til sælger på arket Tilbud.</font></div><div><font color="#0033ff">'MGB 26.03.2021</font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff">Dim myInput As Variant</font></div><div><font color="#0033ff">Dim rækkenummer As Integer</font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff">myInput = InputBox("Indtast rækkenummer for, hvor ny linje skal være f.eks. '79'." &amp; vbNewLine &amp; vbNewLine &amp; "Min. 4 og maks. 666.", "Tilføj ny linje")</font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff">&nbsp; &nbsp; 'Tjekker om input er et tal.</font></div><div><font color="#0033ff">&nbsp; &nbsp; If Not IsNumeric(myInput) Then</font></div><div><font color="#0033ff">&nbsp; &nbsp; &nbsp; &nbsp; MsgBox "Fejl: Du skal indtaste et rækkenummer. Prøv evt. igen."</font></div><div><font color="#0033ff">&nbsp; &nbsp; &nbsp; &nbsp; Exit Sub</font></div><div><font color="#0033ff">&nbsp; &nbsp; Else</font></div><div><font color="#0033ff">&nbsp; &nbsp; &nbsp; &nbsp; rækkenummer = CInt(myInput)</font></div><div><font color="#0033ff">&nbsp; &nbsp; End If</font></div><div><font color="#0033ff">&nbsp; &nbsp;&nbsp;</font></div><div><font color="#0033ff">&nbsp; &nbsp; 'Tjekker om input er et tal i det rigtige interval.</font></div><div><font color="#0033ff">&nbsp; &nbsp; If Not rækkenummer = 666 And rækkenummer &lt; 4 Then</font></div><div><font color="#0033ff">&nbsp; &nbsp; &nbsp; &nbsp; MsgBox "Fejl: Du skal indtaste et rækkenummer i intervallet 4-666. Prøv evt. igen."</font></div><div><font color="#0033ff">&nbsp; &nbsp; &nbsp; &nbsp; Exit Sub</font></div><div><font color="#0033ff">&nbsp; &nbsp; End If</font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff">&nbsp; &nbsp; 'Tjekker om input er et tal i det rigtige interval.</font></div><div><font color="#0033ff">&nbsp; &nbsp; If Not rækkenummer = 666 And rækkenummer &gt; 666 Then</font></div><div><font color="#0033ff">&nbsp; &nbsp; &nbsp; &nbsp; MsgBox "Fejl: Du skal indtaste et rækkenummer i intervallet 4-666. Prøv evt. igen."</font></div><div><font color="#0033ff">&nbsp; &nbsp; &nbsp; &nbsp; Exit Sub</font></div><div><font color="#0033ff">&nbsp; &nbsp; End If</font></div><div><font color="#0033ff">&nbsp; &nbsp;&nbsp;</font></div><div><font color="#0033ff">&nbsp; &nbsp;&nbsp;</font></div><div><font color="#0033ff">&nbsp; &nbsp; Rows(rækkenummer).Select</font></div><div><font color="#0033ff">&nbsp; &nbsp; Selection.Copy</font></div><div><font color="#0033ff">&nbsp; &nbsp; Selection.Insert Shift:=xlDown</font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff">Range(Cells(rækkenummer, 1), Cells(rækkenummer, 3)).Select</font></div><div><font color="#0033ff">Selection.Clear</font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff">Range(Cells(rækkenummer, 8), Cells(rækkenummer, 9)).Select</font></div><div><font color="#0033ff">Selection.Clear</font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff">Range("A1").Select</font></div><div><font color="#0033ff"><br></font></div><div><font color="#0033ff">End Sub</font></div></div><div><br></div>]]>
   </description>
   <pubDate>Fri, 26 Mar 2021 10:05:25 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/runtime-error21471784880010108_topic4505_post22430.html#22430</guid>
  </item> 
 </channel>
</rss>