<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VBA and Excel Not Working in MathCad 15 in Mathcad</title>
    <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966928#M213221</link>
    <description>&lt;P&gt;Well I can't seem to get this to work either.&amp;nbsp; Same divide by error.&amp;nbsp; I even got the error when I opened the macro in MathCad 15 and I did not change a thing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you have some other ideas?&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2024 18:14:06 GMT</pubDate>
    <dc:creator>ptc-1259218</dc:creator>
    <dc:date>2024-08-16T18:14:06Z</dc:date>
    <item>
      <title>VBA and Excel Not Working in MathCad 15</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/963741#M213044</link>
      <description>&lt;P&gt;In the attached MathCad worksheet is an embedded excel file that has VBA apps in it.&amp;nbsp; It takes data input and calculates to values C and C` or is suppose to.&amp;nbsp; The excel file "CANDCPRIME.XLS" on its own works fine but once it is inserted in to MathCad it is being blocked by Microsoft as "untrusted".&amp;nbsp; What do I have to do to make it run inside MathCad.&amp;nbsp; It use to just fine but I haven't used this MathCad worksheet for a few years because my work did not include a lot of steel design.&amp;nbsp; I am using a subscription to Microsoft Office 365 and have tried to modify all the security and "Trusted" stuff I could find to allow this to run.&amp;nbsp; And ass I mentioned above by itself runs perfectly. Put all the files attached in the same location.&lt;/P&gt;&lt;P&gt;Any help is appreciated.&amp;nbsp; Thank you,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jul 2024 18:02:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/963741#M213044</guid>
      <dc:creator>ptc-1259218</dc:creator>
      <dc:date>2024-07-27T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: VBA and Excel Not Working in MathCad 15</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/963753#M213048</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In the time it takes to faff about with Windows and Microsoft 365(Excel) settings it is easier to simply replace the two macros with Mathcad functions for C and C' thus ellimination the need for the excel embedment altogether.&amp;nbsp; Just translation of the macros line by line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the two macros in the file provided and they have been checked as working as long as you don'[ enter 1 x 1 bolt groups.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 545px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/108403i2B0808ACA323EE7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2024 06:27:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/963753#M213048</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2024-07-28T06:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: VBA and Excel Not Working in MathCad 15</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/963757#M213050</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;See enclosed file&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2024 11:47:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/963757#M213050</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2024-07-28T11:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: VBA and Excel Not Working in MathCad 15</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/963767#M213052</link>
      <description>&lt;P&gt;Works great.&amp;nbsp; Thanks tons!&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2024 22:20:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/963767#M213052</guid>
      <dc:creator>ptc-1259218</dc:creator>
      <dc:date>2024-07-28T22:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: VBA and Excel Not Working in MathCad 15</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966801#M213209</link>
      <description>&lt;P&gt;In the routine for Bolt Coefficient C if the first input parameter (number of bolt rows) is 3 the routine gives a divide by zero error.&amp;nbsp; I can't find where it is occurring. Can you find it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 21:01:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966801#M213209</guid>
      <dc:creator>ptc-1259218</dc:creator>
      <dc:date>2024-08-15T21:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: VBA and Excel Not Working in MathCad 15</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966915#M213215</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Found the missing piece.&amp;nbsp; When the bolt group has a bolt on the centroid "ri" for that bolt goes to zero.&amp;nbsp; So bolt groups like 3,1; 5,1; 3,3; with a central bolt fail.&amp;nbsp; In subsequent statements for Fx and Fy the formula have a divide by "ri" or zero for central bolt.&amp;nbsp; The original macro gets a round this with an "On Error Resume Next" statement that I ignored in original translation from VBA to Mathcad as I did not know what it was there for.&amp;nbsp; Now I do.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simple fix is to do the same thing in Mathcad&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 374px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/109273i16DC0ED9B1ABDABF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Encloses is a new BoltCoefficient() program you can copy and paste in your sheet after deleting the old one.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 17:40:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966915#M213215</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2024-08-16T17:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: VBA and Excel Not Working in MathCad 15</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966928#M213221</link>
      <description>&lt;P&gt;Well I can't seem to get this to work either.&amp;nbsp; Same divide by error.&amp;nbsp; I even got the error when I opened the macro in MathCad 15 and I did not change a thing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you have some other ideas?&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 18:14:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966928#M213221</guid>
      <dc:creator>ptc-1259218</dc:creator>
      <dc:date>2024-08-16T18:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: VBA and Excel Not Working in MathCad 15</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966940#M213222</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry uploaded wrong file my bad!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 546px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/109284iF94C46264DC22D27/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 20:46:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966940#M213222</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2024-08-16T20:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: VBA and Excel Not Working in MathCad 15</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966943#M213224</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;
&lt;P&gt;Not having a good day.&lt;/P&gt;
&lt;P&gt;Enclosed v3 of file without my debug statement testing Mo = 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 21:08:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966943#M213224</guid>
      <dc:creator>terryhendicott</dc:creator>
      <dc:date>2024-08-16T21:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: VBA and Excel Not Working in MathCad 15</title>
      <link>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966944#M213225</link>
      <description>&lt;DIV&gt;Thank you so much Terry. Your bad day just made my day.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;John&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Aug 2024 21:56:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Mathcad/VBA-and-Excel-Not-Working-in-MathCad-15/m-p/966944#M213225</guid>
      <dc:creator>ptc-1259218</dc:creator>
      <dc:date>2024-08-16T21:56:23Z</dc:date>
    </item>
  </channel>
</rss>

