<?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 : Splash Screen</title>
  <link>https://forum.excel-regneark.dk/</link>
  <description><![CDATA[Dette er et XML Feed af; Dansk Regneark Forum : Makro og VBA : Splash Screen]]></description>
  <pubDate>Sat, 05 Dec 2026 15:09:22 +0000</pubDate>
  <lastBuildDate>Wed, 05 Dec 2018 18:15:04 +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=3703</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[Splash Screen : Hej Max jeg fik det l&#248;st med det...]]></title>
   <link>https://forum.excel-regneark.dk/splash-screen_topic3703_post18277.html#18277</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=2124">Kenny.E</a><br /><strong>Emne:</strong> 3703<br /><strong>Sendt:</strong> 05.Dec.2018 kl. 18:15<br /><br />Hej Max jeg fik det løst med det her.<div><br></div><div><div>'PLACE IN ThisWorkbook SHEET MODULE</div><div>Private Sub Workbook_Open()</div><div>&nbsp; &nbsp; Application.Visible = False</div><div>&nbsp; &nbsp; SplashUserForm.Show</div><div>&nbsp; &nbsp; Windows(ThisWorkbook.Name).Visible = False</div><div>&nbsp; &nbsp; UserForm2.Show</div><div>End Sub</div></div><div><br></div><div>Tak for hjælpen</div><div>Hilsen</div><div>Kenny</div>]]>
   </description>
   <pubDate>Wed, 05 Dec 2018 18:15:04 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/splash-screen_topic3703_post18277.html#18277</guid>
  </item> 
  <item>
   <title><![CDATA[Splash Screen : Hej KennyHvis du f&#248;lger alle de...]]></title>
   <link>https://forum.excel-regneark.dk/splash-screen_topic3703_post18269.html#18269</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=1747">maxzpad</a><br /><strong>Emne:</strong> 3703<br /><strong>Sendt:</strong> 05.Dec.2018 kl. 08:44<br /><br />Hej Kenny<br><br>Hvis du følger alle de instruktioner, som er anført ("PLACE xx IN yy"), bør det virke ... dvs. at Userform'en vises, når den projektmappe, den er placeret i, åbnes. Men du skal også have defineret selve Userform'en via Insert -&gt; UserForm.<br><br>Det er denne her Workbook_Open-event, som trigger, at den vises (såfremt makroer er tilladt):<br><br><div>'PLACE IN ThisWorkbook SHEET MODULE</div><div>Private Sub Workbook_Open()</div><div>&nbsp; &nbsp; Application.ScreenUpdating = False</div><div>&nbsp; &nbsp; ActiveWindow.Visible = False</div><div><b><font color="#0033FF">&nbsp; &nbsp; SplashUserForm.Show</font></b></div><div>&nbsp; &nbsp; Windows(ThisWorkbook.Name).Visible = True</div><div>&nbsp; &nbsp; Application.ScreenUpdating = True</div><div>End Sub<br><br>Håber det hjælper dig videre.<br><br>Mvh Max<br></div>]]>
   </description>
   <pubDate>Wed, 05 Dec 2018 08:44:12 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/splash-screen_topic3703_post18269.html#18269</guid>
  </item> 
  <item>
   <title><![CDATA[Splash Screen : Hej jeg har fundet det her p&#229;...]]></title>
   <link>https://forum.excel-regneark.dk/splash-screen_topic3703_post18268.html#18268</link>
   <description>
    <![CDATA[<strong>Forfatter:</strong> <a href="https://forum.excel-regneark.dk/member_profile.asp?PF=2124">Kenny.E</a><br /><strong>Emne:</strong> 3703<br /><strong>Sendt:</strong> 04.Dec.2018 kl. 01:22<br /><br />Hej jeg har fundet det her på nettet&nbsp; kan det laves så det åbner en Userform efter load ?<div>Hilsen</div><div>Kenny<br><div><img src="https://forum.excel-regneark.dk/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /><br></div><div><div>'PLACE IN YOUR USERFORM CODE</div><div>Private Sub UserForm_Activate()</div><div>&nbsp; &nbsp; Application.Wait (Now + TimeValue("00:00:01"))</div><div>&nbsp; &nbsp; SplashUserForm.Label1.Caption = "Loading Data..."</div><div>&nbsp; &nbsp; SplashUserForm.Repaint</div><div>&nbsp; &nbsp; Application.Wait (Now + TimeValue("00:00:01"))</div><div>&nbsp; &nbsp; SplashUserForm.Label1.Caption = "Creating Forms..."</div><div>&nbsp; &nbsp; SplashUserForm.Repaint</div><div>&nbsp; &nbsp; Application.Wait (Now + TimeValue("00:00:01"))</div><div>&nbsp; &nbsp; SplashUserForm.Label1.Caption = "Opening..."</div><div>&nbsp; &nbsp; SplashUserForm.Repaint</div><div>&nbsp; &nbsp; Application.Wait (Now + TimeValue("00:00:01"))</div><div>&nbsp; &nbsp; Unload SplashUserForm</div><div>End Sub</div><div>-------------------------------------------------------------------------------------------------------------------------</div><div><br></div><div>'PLACE IN A STANDARD MODULE</div><div>Option Explicit</div><div>Option Private Module</div><div><br></div><div>Public Const GWL_STYLE = -16</div><div>Public Const WS_CAPTION = &amp;HC00000</div><div>Public Declare Function GetWindowLong _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Lib "user32" Alias "GetWindowLongA" ( _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ByVal hWnd As Long, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ByVal nIndex As Long) As Long</div><div>Public Declare Function SetWindowLong _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Lib "user32" Alias "SetWindowLongA" ( _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ByVal hWnd As Long, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ByVal nIndex As Long, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ByVal dwNewLong As Long) As Long</div><div>Public Declare Function DrawMenuBar _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Lib "user32" ( _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ByVal hWnd As Long) As Long</div><div>Public Declare Function FindWindowA _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Lib "user32" (ByVal lpClassName As String, _</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ByVal lpWindowName As String) As Long</div><div><br></div><div>Sub HideTitleBar(frm As Object)</div><div>&nbsp; &nbsp; Dim lngWindow As Long</div><div>&nbsp; &nbsp; Dim lFrmHdl As Long</div><div>&nbsp; &nbsp; lFrmHdl = FindWindowA(vbNullString, frm.Caption)</div><div>&nbsp; &nbsp; lngWindow = GetWindowLong(lFrmHdl, GWL_STYLE)</div><div>&nbsp; &nbsp; lngWindow = lngWindow And (Not WS_CAPTION)</div><div>&nbsp; &nbsp; Call SetWindowLong(lFrmHdl, GWL_STYLE, lngWindow)</div><div>&nbsp; &nbsp; Call DrawMenuBar(lFrmHdl)</div><div>End Sub</div><div>-----------------------------------------------------------------------------------------------------------------------</div><div><br></div><div>'PLACE IN YOUR USERFORM CODE</div><div>Private Sub UserForm_Initialize()</div><div>&nbsp; &nbsp; HideTitleBar Me</div><div>End Sub</div><div>--------------------------------------------------------------------------------------------------------------------------</div><div>'PLACE IN ThisWorkbook SHEET MODULE</div><div>Private Sub Workbook_Open()</div><div>&nbsp; &nbsp; Application.ScreenUpdating = False</div><div>&nbsp; &nbsp; ActiveWindow.Visible = False</div><div>&nbsp; &nbsp; SplashUserForm.Show</div><div>&nbsp; &nbsp; Windows(ThisWorkbook.Name).Visible = True</div><div>&nbsp; &nbsp; Application.ScreenUpdating = True</div><div>End Sub</div><div><br></div></div></div>]]>
   </description>
   <pubDate>Tue, 04 Dec 2018 01:22:12 +0000</pubDate>
   <guid isPermaLink="true">https://forum.excel-regneark.dk/splash-screen_topic3703_post18268.html#18268</guid>
  </item> 
 </channel>
</rss>