<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to accept user input and display the value in Excel 2007 macros</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-accept-user-input-and-display-the-value-entered-back-on-the-screen/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-accept-user-input-and-display-the-value-entered-back-on-the-screen/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 01:14:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-accept-user-input-and-display-the-value-entered-back-on-the-screen/#comment-87236</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Fri, 28 Jan 2011 20:54:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-87236</guid>
		<description><![CDATA[Try changing this:

&lt;pre&gt;MsgBox ” Starting at ” &amp; vbCrLf _
&amp; VStartRange&lt;b&gt;.Select &lt;/b&gt;&amp; ” to ” &amp; VEndRange&lt;b&gt;.Select &lt;/b&gt;_
, vbInformation + vbOKOnly, “Data Range Selected”&lt;/pre&gt;

To this:

&lt;pre&gt;MsgBox &quot; Starting at &quot; &amp; vbCrLf _
&amp; VStartRange&lt;b&gt;.Address &lt;/b&gt;&amp; &quot; to &quot; &amp; VEndRange&lt;b&gt;.Address &lt;/b&gt;_
, vbInformation + vbOKOnly, &quot;Data Range Selected&quot;&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>Try changing this:</p>
<pre>MsgBox ” Starting at ” &amp; vbCrLf _
&amp; VStartRange<b>.Select </b>&amp; ” to ” &amp; VEndRange<b>.Select </b>_
, vbInformation + vbOKOnly, “Data Range Selected”</pre>
<p>To this:</p>
<pre>MsgBox " Starting at " &amp; vbCrLf _
&amp; VStartRange<b>.Address </b>&amp; " to " &amp; VEndRange<b>.Address </b>_
, vbInformation + vbOKOnly, "Data Range Selected"</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: jkeri</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-accept-user-input-and-display-the-value-entered-back-on-the-screen/#comment-87231</link>
		<dc:creator>jkeri</dc:creator>
		<pubDate>Fri, 28 Jan 2011 19:15:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-87231</guid>
		<description><![CDATA[Sub FormatData()
Dim VStartRange As Range
Dim VEndRange As Range
Dim VMsg As String

&#039;
&#039; FormatData Macro
&#039;
&#039; Keyboard Shortcut: Ctrl+Shift+F
&#039;    &#039; new code starts here
&#039; prompt user for data ranges
Set VStartRange = Application.InputBox _
         (Prompt:=&quot; Enter Starting cell: &quot;, _
          Title:=&quot;Identify starting Cell ($x$999)&quot;, _
          Default:=Selection.Address, _
          Type:=8)
VStartRange.Select


Set VEndRange = Application.InputBox _
         (Prompt:=&quot; Enter Last cell:&quot;, _
          Title:=&quot;Identify Ending Cell ($x$999)&quot;, _
          Default:=Selection.Address, _
          Type:=8)
VEndRange.Select

MsgBox &quot; Starting at &quot; &amp; vbCrLf _
        &amp; VStartRange.Select &amp; &quot; to &quot; &amp; VEndRange.Select _
        , vbInformation + vbOKOnly, &quot;Data Range Selected&quot;
               


End Sub]]></description>
		<content:encoded><![CDATA[<p>Sub FormatData()<br />
Dim VStartRange As Range<br />
Dim VEndRange As Range<br />
Dim VMsg As String</p>
<p>&#8216;<br />
&#8216; FormatData Macro<br />
&#8216;<br />
&#8216; Keyboard Shortcut: Ctrl+Shift+F<br />
&#8216;    &#8216; new code starts here<br />
&#8216; prompt user for data ranges<br />
Set VStartRange = Application.InputBox _<br />
         (Prompt:=&#8221; Enter Starting cell: &#8220;, _<br />
          Title:=&#8221;Identify starting Cell ($x$999)&#8221;, _<br />
          Default:=Selection.Address, _<br />
          Type:=8)<br />
VStartRange.Select</p>
<p>Set VEndRange = Application.InputBox _<br />
         (Prompt:=&#8221; Enter Last cell:&#8221;, _<br />
          Title:=&#8221;Identify Ending Cell ($x$999)&#8221;, _<br />
          Default:=Selection.Address, _<br />
          Type:=8)<br />
VEndRange.Select</p>
<p>MsgBox &#8221; Starting at &#8221; &amp; vbCrLf _<br />
        &amp; VStartRange.Select &amp; &#8221; to &#8221; &amp; VEndRange.Select _<br />
        , vbInformation + vbOKOnly, &#8220;Data Range Selected&#8221;</p>
<p>End Sub</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-accept-user-input-and-display-the-value-entered-back-on-the-screen/#comment-87225</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Fri, 28 Jan 2011 16:49:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-87225</guid>
		<description><![CDATA[Can you post your code, please ?]]></description>
		<content:encoded><![CDATA[<p>Can you post your code, please ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.038 seconds using memcached
Object Caching 295/301 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 03:11:54 -->