<?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="auto">האם יש דרך להגדיר שעמודה מסוימת באקסל מכילה מייל<br />
וממילא ברגע ששמים בה את העכבר השפה תשתנה לאנגלית<br />
וכאשר עוברים לעמודות הבאות השפה תחזור להיות עברית?</p>
]]></description><link>https://tchumim.com/topic/12812/שפת-ברירת-מחדל-באקסל</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 05:05:58 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/12812.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 Feb 2022 16:22:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to שפת ברירת מחדל באקסל on Thu, 17 Feb 2022 17:18:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/a0533057932">@<bdi>a0533057932</bdi></a> אפשר על ידי קוד וקריאה ל-Windows API.<br />
תדביק את הקוד הבא במודול של הגליון המדובר, ובשורה 6 תגדיר את העמודה הרצויה:</p>
<pre><code>Private Declare PtrSafe Function ActivateKeyboardLayout Lib "user32" (ByVal HKL As LongPtr, _
ByVal flags As Long) As LongPtr

Const aklEnglishUS As LongPtr = &amp;H4090409
Const aklHebrewIL As LongPtr = &amp;HF03D040D
Const ColumnToForceEnglish As Integer = 8

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If Target.Column = ColumnToForceEnglish Then
        ActivateKeyboardLayout aklEnglishUS, 0
    Else
        ActivateKeyboardLayout aklHebrewIL, 0
    End If
End Sub
</code></pre>
<p dir="auto">את ההשראה קיבלתי מכאן: <a href="https://stackoverflow.com/questions/449207/how-can-i-call-activatekeyboardlayout-from-64bit-windows-vista-using-vba" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/449207/how-can-i-call-activatekeyboardlayout-from-64bit-windows-vista-using-vba</a></p>
]]></description><link>https://tchumim.com/post/136223</link><guid isPermaLink="true">https://tchumim.com/post/136223</guid><dc:creator><![CDATA[OdedDvir]]></dc:creator><pubDate>Thu, 17 Feb 2022 17:18:03 GMT</pubDate></item></channel></rss>