<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל]]></title><description><![CDATA[<p dir="rtl">בהמשך ל<a href="https://tchumim.com/post/131262">נושא הזה</a>, העלה <a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%9E%D7%A0%D7%97%D7%9D" aria-label="Profile: מנחם">@<bdi>מנחם</bdi></a> את הצורך לבנות מסד נתונים נפרד לתוכנת <a href="https://tchumim.com/topic/11878/%D7%AA%D7%95%D7%9B%D7%A0%D7%94-%D7%9C%D7%A1%D7%99%D7%9E%D7%95%D7%9F-%D7%97%D7%96%D7%A8%D7%95%D7%AA/42">"הדרן עלך"</a><br />
בעזרת ה' גירסא 4 תשתמש ברעיון. (זה יוכל להועיל בהרבה תחומים כגון גיבוי חלק ושחזור, וכן עוד הרבה תחומים, כמו יצירת סיכום ללימוד הכולל. וכדו'.)</p>
<blockquote>
<p dir="rtl">בסיס הרעיון הוא, שבמקום שהנתונים יישמרו בטבלאות המקוריות, (להלן: 'תאי ההזנה') הנתונים יישמרו בטבלה נפרדת (להלן: 'מסד נתונים') כאשר לחיצה על תאי ההזנה, תתן את הערך ב'מסד הנתונים', ו'תאי ההזנה' ישלפו את הערך ממסד הנתונים.</p>
<p dir="rtl">כלומר בתאי ההזנה לא יישמר הערך עצמו, כי אם ישלוף את הערך ממסד הנתונים. ומסד הנתונים ייתמלא בלחיצה כפולה על תאי ההזנה.</p>
</blockquote>
<p dir="rtl">אשמח לעצה באיזה אופן כדאי ליצור את המסד.</p>
<p dir="rtl">האם לעשות מסד לכל מסכת ועוד מסד בגליון נפרד לכל הגליונות. (שזה אומר ש'תאי ההזנה' יזינו את 'גליון הסיכום', ו'טבלת סיכום המסכת' תשלוף מ'גליון הסיכום', ו'תאי ההזנה' ישלפו מ'טבלת סיכום המסכת' <img src="https://tchumim.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f607.png?v=cf1b4e11576" class="not-responsive emoji emoji-android emoji--innocent" style="height:23px;width:auto;vertical-align:middle" title="😇" alt="😇" />)</p>
<p dir="rtl">או לדלג על השלב של 'טבלת סכום המסכת'...</p>
<p dir="rtl">או אולי באופן אחר?</p>
<p dir="rtl">האופן שעולה לי בראש, הוא להערים את כל הטבלאות אחד על גבי השני לטבלה, אחת. האם עדיף לחלק לטבלאות שונות??</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: OdedDvir">@<bdi>OdedDvir</bdi></a> אני מתייג אותך <a href="https://community.nodebb.org/post/84166" target="_blank" rel="noopener noreferrer nofollow ugc">על אף ש... </a> בגלל <a href="https://tchumim.com/post/131294">ש... <img src="https://tchumim.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=cf1b4e11576" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /> , </a></p>
]]></description><link>https://tchumim.com/topic/12194/התייעצות-בניית-מסד-נתונים-לתכנת-הדרן-עלך-אקסל</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 01:57:24 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/12194.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 31 Oct 2021 20:46:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Wed, 01 Dec 2021 19:55:46 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> אמור לעבוד אם בתיקיית השורש יש את הקובץ.<br />
במחשבה שניה, יתכן מאד ואם מדובר בכונן שבו מערכת ההפעלה זה לא יעבוד, כי בד"כ תיקית השורש  מוגנת על ידי המערכת, ודורשת הרשאות מיוחדות כדי לבצע בה שינויים.</p>
]]></description><link>https://tchumim.com/post/132830</link><guid isPermaLink="true">https://tchumim.com/post/132830</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Wed, 01 Dec 2021 19:55:46 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Wed, 01 Dec 2021 17:46:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a> אמר ב<a href="/post/132744">התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל</a>:</p>
<blockquote>
<p dir="auto">Set DataWB = GetObject("Hadran_Data.xlsx")</p>
</blockquote>
<p dir="rtl">ישנו הסבר מדוע אינו פועל בנתיב יחסי?</p>
<pre><code>Set DataWB = GetObject("\Hadran_Data.xlsx")
</code></pre>
]]></description><link>https://tchumim.com/post/132818</link><guid isPermaLink="true">https://tchumim.com/post/132818</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Wed, 01 Dec 2021 17:46:53 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 20:08:05 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> אם כן, מדוע אתה מנסה להציג אותו כבר בפתיחה?<br />
בכל מקרה, לאובייקט Workbook אין מאפיין Visible. אתה צריך להשתמש באחד מצאצאים שלו.<br />
למשל:</p>
<pre><code>DataWB.Sheets(1).Visible = True
</code></pre>
<p dir="rtl">או</p>
<pre><code>DataWB.Windows(1).Visible = True
</code></pre>
]]></description><link>https://tchumim.com/post/132787</link><guid isPermaLink="true">https://tchumim.com/post/132787</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Tue, 30 Nov 2021 20:08:05 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 19:59:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a> אמר ב<a href="/post/132785">התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל</a>:</p>
<blockquote>
<p dir="rtl">לפי הקוד שצירפת, אתה רוצה להציג את חלון הדאטא מתוך התוכנה. אני הבנתי שלא.</p>
</blockquote>
<p dir="rtl">הבנת נכון לגמרי.<br />
הקוד שצירפתי היה רק בעבור הרצון לשחזר את החוברת אחרי שהיא לא עלתה. לכן נסיתי להשפיע עליה דרך הקוד.</p>
]]></description><link>https://tchumim.com/post/132786</link><guid isPermaLink="true">https://tchumim.com/post/132786</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Tue, 30 Nov 2021 19:59:09 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 19:54:29 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> אני בספק אם גרסת האופיס משנה כאן.<br />
אני לא מבין מה אתה מנסה לעשות. לפי הקוד שצירפת, אתה <strong>רוצה</strong> להציג את חלון הדאטא מתוך התוכנה. אני הבנתי שלא.<br />
אם כן, פשוט תפתח את החוברת כרגיל:</p>
<pre><code>Sub open1()
Set DataWB = Workbooks.Open("C:\Desktop\Hadran_Data.xlsx")
End Sub
</code></pre>
<p dir="rtl">ותו לא מידי.</p>
]]></description><link>https://tchumim.com/post/132785</link><guid isPermaLink="true">https://tchumim.com/post/132785</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Tue, 30 Nov 2021 19:54:29 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 19:53:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a> בוודאי יש לך גירסת אופיס 365<br />
לי יש 2019</p>
<p dir="rtl">הצורה שהכנסתי את זה היא כך:</p>
<pre><code>Sub open1()
Set DataWB = GetObject("C:\Desktop\Hadran_Data.xlsx")
DataWB.Visible = True
End Sub
</code></pre>
<p dir="rtl">וכך</p>
<pre><code>Sub סגור()
DataWB.Visible = True
DataWB.Close SaveChanges:=True
End Sub
</code></pre>
<p dir="rtl">בריצה בחלון המיידי מתקבלת השגיאה הבאה:</p>
<p dir="auto">Run-time error '424':</p>
<p dir="auto">Object required</p>
]]></description><link>https://tchumim.com/post/132784</link><guid isPermaLink="true">https://tchumim.com/post/132784</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Tue, 30 Nov 2021 19:53:58 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 19:25:23 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> הבעיה שציינת היתה שבפתיחה של הדאטא - החלון מוסתר. לכן נתתי לך את הפתרון הנ"ל, והתכוונתי שתוסיף את הקוד הזה בארוע פתיחה של קובץ הדאטא, ולא בתוכנה. כך שאין לך מה להסתבך עם אינדקסים.<br />
בלאו הכי אני עדיין תוהה מה גורם לתופעה...</p>
]]></description><link>https://tchumim.com/post/132783</link><guid isPermaLink="true">https://tchumim.com/post/132783</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Tue, 30 Nov 2021 19:25:23 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 19:20:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a> אמר ב<a href="/post/132780">התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל</a>:</p>
<blockquote>
<p dir="auto">Application.Windows(1).Caption = "שמוליק"</p>
</blockquote>
<p dir="rtl">אם אני מבין נכון, החלון הפעיל נחשב (1) וכן הלאה.<br />
סביר להניח שכאשר אני פותח חלון על ידי vba הוא לא נחשב פעיל, ולכן הוא מקבל את הערך האחרון מבין החלונות הקיימים</p>
<p dir="rtl">בהתחשב בכך, צריך לחשב כמה חלונות פעילים, ולתת לחלון של המסד את הערך האחרון.</p>
<p dir="rtl">כאשר הוא יהפך לפעיל הוא יחזור להיות (1) וכל הקוד ישתבש? ואם נתתי לו שם, זה ישנה את העובדה הזו?</p>
<p dir="rtl">הפיתרון לתת כותרת, גם היא צריכה קודם לדעת את המיקום באינדקס</p>
<p dir="rtl">אני מרגיש שדיברתי יותר מידי... מה חסר לי בהבנה?</p>
]]></description><link>https://tchumim.com/post/132782</link><guid isPermaLink="true">https://tchumim.com/post/132782</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Tue, 30 Nov 2021 19:20:47 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 19:05:54 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> את אינדקס החלון מתוך החלונות הפעילים. ניתן לציין לפי מספר או לפי כותרת:</p>
<pre><code>Application.Windows(1).Caption = "שמוליק"
Application.Windows("שמוליק").ActiveSheet.Calculate
</code></pre>
]]></description><link>https://tchumim.com/post/132780</link><guid isPermaLink="true">https://tchumim.com/post/132780</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Tue, 30 Nov 2021 19:05:54 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 18:59:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a> אמר ב<a href="/post/132777">התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל</a>:</p>
<blockquote>
<p dir="rtl">האם כעת מוצג?</p>
</blockquote>
<p dir="rtl">אכן מוצג<br />
מה המספר <code>(1)</code> מבטא?<br />
על מנת שאדע כיצד לשלב אותו בקוד</p>
]]></description><link>https://tchumim.com/post/132779</link><guid isPermaLink="true">https://tchumim.com/post/132779</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Tue, 30 Nov 2021 18:59:59 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 18:54:35 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> מעניין... לא הצלחתי לשחזר את התופעה אצלי.<img src="https://tchumim.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=cf1b4e11576" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /><br />
בכל מקרה, פתח את הקובץ דאטא, עבור לעורך ה-VBA על ידי מקש F11 ובחלון ה- Immediate למטה תריץ:</p>
<pre><code>ThisWorkbook.Windows(1).Visible = True
</code></pre>
<p dir="rtl">האם כעת מוצג?</p>
]]></description><link>https://tchumim.com/post/132777</link><guid isPermaLink="true">https://tchumim.com/post/132777</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Tue, 30 Nov 2021 18:54:35 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 18:42:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a><br />
כל קובץ שפתחתי אותו פעם אחת על ידי <code>GetObject</code> יותר לא נפתח לי כרגיל, כלומר הוא ירוץ (אני אראה קובץ מוסתר בשולחן העבודה,) אך אינו מוצג.</p>
<p dir="auto"><img src="/assets/uploads/files/1638297758667-631daada-a1a4-4c90-8e60-6b67f0a0f7f4-image.png" alt="631daada-a1a4-4c90-8e60-6b67f0a0f7f4-image.png" class=" img-fluid img-markdown" /></p>
<p dir="rtl">ניסיתי להגדיר ככה:</p>
<p dir="auto"><code>DataWB.Visible = True</code></p>
<p dir="rtl">אך קיבלתי שגיאה: Object doesn't support this property or method</p>
]]></description><link>https://tchumim.com/post/132776</link><guid isPermaLink="true">https://tchumim.com/post/132776</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Tue, 30 Nov 2021 18:42:44 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 17:28:13 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> לא הבנתי מה כוונתך.</p>
]]></description><link>https://tchumim.com/post/132773</link><guid isPermaLink="true">https://tchumim.com/post/132773</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Tue, 30 Nov 2021 17:28:13 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Tue, 30 Nov 2021 15:34:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a></p>
<p dir="rtl">כיצד ניתן להחזיר את הקובץ שיפעל כרגיל?</p>
]]></description><link>https://tchumim.com/post/132769</link><guid isPermaLink="true">https://tchumim.com/post/132769</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Tue, 30 Nov 2021 15:34:34 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Mon, 29 Nov 2021 21:40:17 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> צ"ל כך:</p>
<pre><code>DataWB.Sheets("גיליון1").Range("a1")
</code></pre>
]]></description><link>https://tchumim.com/post/132747</link><guid isPermaLink="true">https://tchumim.com/post/132747</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Mon, 29 Nov 2021 21:40:17 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Mon, 29 Nov 2021 21:30:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a></p>
<p dir="rtl">אני מנסה לכתוב איליו כך:</p>
<pre><code>Application.Goto Workbooks(DataWB).Sheets("גיליון1").Range("a1") = Range("a1").Value
</code></pre>
<p dir="rtl">מקבל שגיאה<br />
<code>Type mismatch</code></p>
]]></description><link>https://tchumim.com/post/132746</link><guid isPermaLink="true">https://tchumim.com/post/132746</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Mon, 29 Nov 2021 21:30:24 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Mon, 29 Nov 2021 20:43:06 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> תשתמש במשתנים גלובליים.<br />
צור מודול ובו תצהיר על משתנה גלובלי (ציבורי) שיכיל את חוברת הנתונים:</p>
<pre><code>Public DataWB As Workbook
</code></pre>
<p dir="rtl">כעת בפתיחת החוברת שלך, תריץ את הקוד הבא:</p>
<pre><code>Set DataWB = GetObject("Hadran_Data.xlsx")
</code></pre>
<p dir="rtl">ולפני הסגירה תריץ:</p>
<pre><code>DataWB.Close SaveChanges:=True
</code></pre>
<p dir="rtl">כי מסתמא תרצה לשמור את השינויים שביצעת בקובץ הדאטא.</p>
<p dir="rtl">בין לבין, תוכל לגשת לקובץ הדאטא מכל מקום בקוד על ידי האובייקט <code>DataWB</code>.</p>
]]></description><link>https://tchumim.com/post/132744</link><guid isPermaLink="true">https://tchumim.com/post/132744</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Mon, 29 Nov 2021 20:43:06 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Mon, 29 Nov 2021 19:48:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a></p>
<p dir="rtl">העצות שם בעיקרן נוגעות לשאלה איך אפשר לפתוח ברקע, לבצע מאקרו ולסגור.<br />
לאחר מעבר על העצות שם (לפי רמת הבנתי), עדיין לא ברור לי באיזה אופן אני יכול להשאיר את החוברת פתוחה לאורך כל זמן הריצה של התוכנה, כאשר התוכנה ברקע ואינה מופיעה.</p>
<p dir="rtl">האופציה של <code>Application.ScreenUpdating = False</code> להבנתי אינה גורמת שלא יוצג כלל  אלא היא מופיעה בזמן הריצה בלי גישה.</p>
]]></description><link>https://tchumim.com/post/132738</link><guid isPermaLink="true">https://tchumim.com/post/132738</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Mon, 29 Nov 2021 19:48:54 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Mon, 29 Nov 2021 08:30:26 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> עיין <a href="https://stackoverflow.com/questions/579797/open-excel-file-for-reading-with-vba-without-display" target="_blank" rel="noopener noreferrer nofollow ugc">כאן</a>.</p>
]]></description><link>https://tchumim.com/post/132712</link><guid isPermaLink="true">https://tchumim.com/post/132712</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Mon, 29 Nov 2021 08:30:26 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Mon, 29 Nov 2021 06:08:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a></p>
<p dir="rtl">אני אשמח לשמוע פרטים איך ניתן להריץ את הקובץ בצורה מוסתרת.<br />
לפחות לשמוע איך התכונה הזו נקראת, גוגל כבר יסביר לי איך עושים <img src="https://tchumim.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f600.png?v=cf1b4e11576" class="not-responsive emoji emoji-android emoji--grinning" style="height:23px;width:auto;vertical-align:middle" title="😀" alt="😀" /></p>
]]></description><link>https://tchumim.com/post/132709</link><guid isPermaLink="true">https://tchumim.com/post/132709</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Mon, 29 Nov 2021 06:08:53 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Mon, 29 Nov 2021 05:28:50 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> מטעמי יעילות עדיף שיהיה פתוח כל זמן שהתוכנה פעילה, כך הגישה אליו תהיה יותר מהירה, כי הפתיחה לוקחת זמן.</p>
]]></description><link>https://tchumim.com/post/132707</link><guid isPermaLink="true">https://tchumim.com/post/132707</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Mon, 29 Nov 2021 05:28:50 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Sun, 28 Nov 2021 22:48:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a> אמר ב<a href="/post/132703">התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל</a>:</p>
<blockquote>
<p dir="rtl">ניתן לגשת אליו בצורה שקטה מתוך הקוד, כאשר הפתיחה שלו תהיה מוסתרת מהמשתמש.</p>
</blockquote>
<p dir="rtl">כלומר: הוא פתוח בכל עת בלי שהמשתמש רואה אותו?<br />
או שכל פעולה הוא נגש לשם?</p>
]]></description><link>https://tchumim.com/post/132705</link><guid isPermaLink="true">https://tchumim.com/post/132705</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Sun, 28 Nov 2021 22:48:39 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Sun, 28 Nov 2021 20:13:41 GMT]]></title><description><![CDATA[<p dir="rtl"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A4%D7%9C%D7%95%D7%A8%D7%99%D7%93%D7%94" aria-label="Profile: פלורידה">@<bdi>פלורידה</bdi></a> למקם את כל הנתונים באקסל נפרד, זו באמת הדרך המומלצת, כי כך ניתן לעדכן את הממשק בנפרד.<br />
ניתן לגשת אליו בצורה שקטה מתוך הקוד, כאשר הפתיחה שלו תהיה מוסתרת מהמשתמש.</p>
]]></description><link>https://tchumim.com/post/132703</link><guid isPermaLink="true">https://tchumim.com/post/132703</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Sun, 28 Nov 2021 20:13:41 GMT</pubDate></item><item><title><![CDATA[Reply to התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל on Sun, 28 Nov 2021 16:56:41 GMT]]></title><description><![CDATA[<p dir="rtl">אני עומד לפני סיום השלב הראשון בס"ד</p>
<p dir="rtl">יצרתי טבלה שבכותרות ישנם <code>ברכות</code>, <code>שבת</code>, וכו' ובעמודה הראשונה, <code>ב.</code>, <code>ב:</code>, <code>ג.</code>, וכו'.</p>
<p dir="auto"><img src="/assets/uploads/files/1638117493720-f2cf9da4-6a1b-4ca4-abae-ad32ff9a8802-image.png" alt="f2cf9da4-6a1b-4ca4-abae-ad32ff9a8802-image.png" class=" img-fluid img-markdown" /></p>
<p dir="rtl">הצורה לשלוף את המפתח היא על ידי index + matsh.</p>
<p dir="rtl">הדרך לקבל את המידע היא לפי נתוני המסכת, והדף בטבלה שמקבלת את הדבל קליק, היא על ידי VLookUp עם הסיט שלילי.</p>
<p dir="rtl">כל הקוד יחד:</p>
<pre><code>Public Function m_kata(wordText As String) As Variant
masecet = ActiveSheet.Range("A6")
ActiveColumn = ActiveCell.Column - ActiveCell.ListObject.DataBodyRange.Column + 1
tanivchar = Selection
ActiveTable = ActiveCell.ListObject
amuda1 = ActiveSheet.ListObjects(ActiveTable).ListColumns(1).DataBodyRange
amudanivchar = ActiveSheet.ListObjects(ActiveTable).ListColumns(ActiveColumn).DataBodyRange

daf = Application.VLookup(tanivchar, Application.Choose(Array(1, 2), amudanivchar, amuda1), 2, 0)

m_kata = Application.Index(Sheets("מקט").Range("T6:BF356"), Application.Match(daf, Sheets("מקט").Range("S6: S356"), 0), Application.Match(masecet, Sheets("מקט").Range("T6:BF6"), 0))

End Function
</code></pre>
<hr />
<p dir="rtl">כעת נותר להחליט, האם כדאי ליצור את המסד בחוברת עבודה נפרדת, או באותה חוברת עבודה.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/odeddvir" aria-label="Profile: odeddvir">@<bdi>odeddvir</bdi></a> אמר ב<a href="/post/131794">התייעצות | בניית מסד נתונים לתכנת "הדרן עלך" | אקסל</a>:</p>
<blockquote>
<p dir="rtl">אפשר באותה המידה להשאר לגמרי באקסל, ולהפריד לשני אקסלים, אחד לנתונים ואחד לתצוגה.<br />
אם בהמשך זה יגדל בעז"ה גם לשו"ע ועוד - באמת צריך לשקול להשתמש כאן בבסיס נתונים.</p>
</blockquote>
<p dir="rtl">אני אישית יותר מתחבר למסד נתונים נפרד. השאלה האם ניתן להשתמש בחוברת עבודה נפרדת לגמרי והיא לא תקפוץ בכל הפעלה של החוברת של התצוגה.</p>
<p dir="rtl">כמו כן אשמח לשמוע על החסרונות של השיטה הזאת (אם יש...)</p>
]]></description><link>https://tchumim.com/post/132700</link><guid isPermaLink="true">https://tchumim.com/post/132700</guid><dc:creator><![CDATA[פלורידה]]></dc:creator><pubDate>Sun, 28 Nov 2021 16:56:41 GMT</pubDate></item></channel></rss>