<?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: Macro correction help! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-correction-help/m-p/1044551#M638001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Remove the spaces in your code where you use _&lt;/P&gt;&lt;P&gt;Sub SetColorPrefs()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim UserPrefs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set UserPrefs = _&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.GetUserPreferences&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Set the "Selected" Color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelBgColor(1).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (0,0,255) ' Blue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelFgColor(1).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (255,255,0) ' Yellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Set the "Possible" Color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelBgColor(2).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (255,255,0) ' Yellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelFgColor(2).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (0,0,0) ' Black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Set the Excluded Color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelBgColor(5).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (200,200,200) ' Light gray&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelFgColor(5).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (0,0,0) ' Black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Set the Locked Color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelBgColor(0).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (255,0,0) ' Red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelFgColor(0).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (0,0,0) ' Black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.SetUserPreferences _&lt;/P&gt;&lt;P&gt;UserPrefs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2016 08:15:41 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2016-03-10T08:15:41Z</dc:date>
    <item>
      <title>Macro correction help!</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-correction-help/m-p/1044549#M637999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117593_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 07:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-correction-help/m-p/1044549#M637999</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2016-03-10T07:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Macro correction help!</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-correction-help/m-p/1044550#M638000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 08:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-correction-help/m-p/1044550#M638000</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-03-10T08:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Macro correction help!</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-correction-help/m-p/1044551#M638001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Remove the spaces in your code where you use _&lt;/P&gt;&lt;P&gt;Sub SetColorPrefs()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim UserPrefs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set UserPrefs = _&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.GetUserPreferences&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Set the "Selected" Color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelBgColor(1).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (0,0,255) ' Blue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelFgColor(1).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (255,255,0) ' Yellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Set the "Possible" Color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelBgColor(2).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (255,255,0) ' Yellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelFgColor(2).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (0,0,0) ' Black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Set the Excluded Color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelBgColor(5).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (200,200,200) ' Light gray&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelFgColor(5).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (0,0,0) ' Black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Set the Locked Color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelBgColor(0).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (255,0,0) ' Red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserPrefs.CustomSelFgColor(0).PrimaryCol.Col = _&lt;/P&gt;&lt;P&gt;RGB (0,0,0) ' Black&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.SetUserPreferences _&lt;/P&gt;&lt;P&gt;UserPrefs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 08:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-correction-help/m-p/1044551#M638001</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2016-03-10T08:15:41Z</dc:date>
    </item>
  </channel>
</rss>

