Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Customized individual response reports

More
5 years 11 months ago #168568 by alanrcooke
Replied by alanrcooke on topic Customized individual response reports
Hi Ervit - thanks very much for this post which has saved me a lot of pain and grief!

I have run into a problem when I run it in Excel - hope you can help.


After pasting logic file in cell A1 (unmerged) and then hitting smiley face to generate questions - I get the following debug error when macro won't run - "target_sheet.UsedRange.Cells.Delete 'clear the target sheet" ??

Can you pls advise what this means / how I might fix it so that the macro will run as intended etc.

Thanks again - Alan
The topic has been locked.
More
5 years 11 months ago #168577 by ervit
Replied by ervit on topic Customized individual response reports
Hi Alan,

It's hard to debug without working with exactly the same data.

Let's try this: before running the "Generate question list" macro, look in the Qlist sheet. If there is anything at all there (for example, an empty formatted table), delete those columns, so that you're left with an empty sheet. Then try running the macro. Please let me know if this helps or not.
The topic has been locked.
More
5 years 11 months ago #168578 by alanrcooke
Replied by alanrcooke on topic Customized individual response reports
Hi Ervit - thanks for getting back to me - and yes this did work !

When I opened the Qlist tab it already had headers in each blank column - Question number; question code; etc. - so I assumed they were supposed to be there - when I deleted them the macro worked a treat!

I am building up some test data in my survey - so haven't checked the rest yet - but I am sure it will be fine.

Thanks again - and if I do run into any more snafus I'll drop you a quick post.

Cheers - Alan
The topic has been locked.
More
5 years 11 months ago #168579 by ervit
Replied by ervit on topic Customized individual response reports
Must have been sloppiness on my part.

The easiest solution would be to add a step to "Clear the Qlist sheet" into the instructions, in case someone else uses this.

Hopefully you won't have other issues.
The following user(s) said Thank You: alanrcooke
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose