Exporting to excel - formatting issue

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

cc100
Posts: 62
Joined: Wed Jul 22, 2015 1:58 pm

Exporting to excel - formatting issue

Postby cc100 » Fri Dec 18, 2015 7:23 am

Hi Gareth,
I am running a program and then I am linking my eviews workfile results to excel using the eviews addin version 8.1 (excel version 2010). The data is always formatted as an excel table and if convert this to a standard range then I lose my links. How can I fix this?

Thanks!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Exporting to excel - formatting issue

Postby EViews Gareth » Fri Dec 18, 2015 9:45 am

Can you be more precise as to what you're doing and why it isn't working?

cc100
Posts: 62
Joined: Wed Jul 22, 2015 1:58 pm

Re: Exporting to excel - formatting issue

Postby cc100 » Mon Dec 21, 2015 2:41 am

Hi Gareth,

I am basically copying and 'pasting as links' some matrices from my eviews workfile into an excel sheet. I am doing this so that I can just run my program every week and then refresh the excel sheet, which will pull in the new results. But when I paste in the results from eviews into excel, the matrices are formatted as tables, and if I change the formatting in excel then the link is lost. How can get the results to not be pasted in as tables?

Thanks

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Exporting to excel - formatting issue

Postby EViews Gareth » Mon Dec 21, 2015 8:52 am

Pasting the link as Text will probably do it.

cc100
Posts: 62
Joined: Wed Jul 22, 2015 1:58 pm

Re: Exporting to excel - formatting issue

Postby cc100 » Mon Dec 21, 2015 9:15 am

Hi Gareth,

Thanks for the quick reply. Excel only seems to let me paste as link or simply paste....If I just paste then obviously it is nolonger linked. Do you know whether there are some settings in excel I need to fiddle with?

Thanks!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Exporting to excel - formatting issue

Postby EViews Gareth » Mon Dec 21, 2015 9:22 am

When you paste as a link, you have to specify the type you want to paste as:
Attachments
2015-12-21_082149.png
2015-12-21_082149.png (8.53 KiB) Viewed 8253 times

cc100
Posts: 62
Joined: Wed Jul 22, 2015 1:58 pm

Re: Exporting to excel - formatting issue

Postby cc100 » Tue Dec 22, 2015 1:46 am

Hi Gareth, Thanks for your screenshot. Attached is mine (using the eviews Getdata addin), the options are 'import and link' or 'import'.

Thanks.
Attachments
Doc1.docx
(36.07 KiB) Downloaded 471 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Exporting to excel - formatting issue

Postby EViews Gareth » Tue Dec 22, 2015 9:45 am

So when you said you were pasting, what you meant was that you were using the Excel Add-in (which is completely different...).

Try copy and pasting instead.

cc100
Posts: 62
Joined: Wed Jul 22, 2015 1:58 pm

Re: Exporting to excel - formatting issue

Postby cc100 » Wed Dec 23, 2015 1:15 am

well originally i did state i was using the addin:

Hi Gareth,
I am running a program and then I am linking my eviews workfile results to excel using the eviews addin version 8.1 (excel version 2010). The data is always formatted as an excel table and if convert this to a standard range then I lose my links. How can I fix this?

cc100
Posts: 62
Joined: Wed Jul 22, 2015 1:58 pm

Re: Exporting to excel - formatting issue

Postby cc100 » Wed Dec 23, 2015 1:21 am

And simply copy pasting does not work as it is nolonger a 'link' so it won't update when i update the program file

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Exporting to excel - formatting issue

Postby EViews Gareth » Wed Dec 23, 2015 7:53 am

Use paste special


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests