Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Copy script to Words

Hello experts,

How do I copy Qlik Sense data load editor script to Microsoft Words while retaining the colour code?

When I copy QlikView script to Words, it retained the script colour code but Qlik Sense doesn't.

Regards,

Jia Sheng

22 Replies
beck_bakytbek
Master
Master

i think the problem is solved by a lot of suggestion and explanation to your issue.

change your attitude to your problem and you can consider your question as solved

marcus_sommer

Maybe another tool like notepad++ is more suitable for explaining scripts and for this are syntax-highligtings for qlikview available which could be also customized: QlikView Addict: QlikView for Notepad++ Release 1.1 and AFAIK there are similar ones for other editors.

Beside this within qlikview you could customize the appearance of nearly every part of the script within the user-properties (in case you want to change it to the sense-settings):

- Marcus

tschullo
Creator III
Creator III

The editor assigns colors on the fly, interpreting key words as you enter them.  The colors are not attributes of the text.  This is why they don't go with it when you paste into Word, and why they come back when you reverse the process.  As you type you will note that the default color is used until you enter a known keyword, like Resident.  What is needed is someway to add the color coding to your target editor.

I have a need for this as well.

You may find this article helpful:

https://answers.microsoft.com/en-us/msoffice/forum/all/how-do-you-display-code-snippets-in-ms-word/0...

Here is what I got when I tried the add-in Easy Code Formatter:

tschullo_1-1746024830226.png

The formatter is extensible, so if someone wants to add Qlik formatting style, here is how you do it:

tschullo_2-1746025253711.png

The settings cog wheel in upper right does let you select from a few styles and make some tweaks, but if you want it to look like Qlik, you will need to add your own extensions. 

Please update us if you decide to extend the Add-in.