<?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 Create Bookmark by macro code in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-Bookmark-by-macro-code/m-p/266011#M99990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Here is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("Variable1")&lt;/P&gt;&lt;P&gt;if v.GetContent.String = "" then&lt;/P&gt;&lt;P&gt; Msgbox "Please enter the name of bookmark"&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt; ActiveDocument.CreateUserBookmark v.GetContent.String&lt;/P&gt;&lt;P&gt; v.SetContent "",true&lt;/P&gt;&lt;P&gt; Msgbox "Bookmark Cretaed"&lt;/P&gt;&lt;P&gt;End if &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2011 06:57:03 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2011-07-08T06:57:03Z</dc:date>
    <item>
      <title>Create Bookmark by macro code</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Bookmark-by-macro-code/m-p/266010#M99989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i create a bookmarks by using macro code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, in my file having an input box , there the user enters name and after clicking the button the BookMark should create with the name which is inside the input box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user doesnot enter the name in input box and clicks on button then should display warning window "Please enter the Name in input box".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can anyone provide a solution on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 04:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Bookmark-by-macro-code/m-p/266010#M99989</guid>
      <dc:creator />
      <dc:date>2011-07-08T04:51:46Z</dc:date>
    </item>
    <item>
      <title>Create Bookmark by macro code</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Bookmark-by-macro-code/m-p/266011#M99990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Here is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("Variable1")&lt;/P&gt;&lt;P&gt;if v.GetContent.String = "" then&lt;/P&gt;&lt;P&gt; Msgbox "Please enter the name of bookmark"&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt; ActiveDocument.CreateUserBookmark v.GetContent.String&lt;/P&gt;&lt;P&gt; v.SetContent "",true&lt;/P&gt;&lt;P&gt; Msgbox "Bookmark Cretaed"&lt;/P&gt;&lt;P&gt;End if &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 06:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Bookmark-by-macro-code/m-p/266011#M99990</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-08T06:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create Bookmark by macro code</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Bookmark-by-macro-code/m-p/266012#M99991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Kaushik, Sorry for late reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code is working in my file and thanks for you helping in this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Venkt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 08:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Bookmark-by-macro-code/m-p/266012#M99991</guid>
      <dc:creator />
      <dc:date>2011-07-08T08:21:50Z</dc:date>
    </item>
  </channel>
</rss>

