ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macro automatic update (https://www.excelbanter.com/excel-discussion-misc-queries/140179-macro-automatic-update.html)

miteeka

Macro automatic update
 
Hi,

I've created a spreadsheet that automatically updates stock quotes using
Import-Web query. Now I'm trying to create a Macro to update the info
automatically when I click on it. I've tried to create a Macro already by
clicking on "Refresh Data." When creating the macro, the stock info gets
updated but when I try to run the macro again there is a runtime error. Any
suggestions? Thanks,
--
miteeka

AKphidelt

Macro automatic update
 
I think putting it at the worksheet or workbook level would help. So anytime
you open up the workbook it automatically runs that macro and updates the
links.

"miteeka" wrote:

Hi,

I've created a spreadsheet that automatically updates stock quotes using
Import-Web query. Now I'm trying to create a Macro to update the info
automatically when I click on it. I've tried to create a Macro already by
clicking on "Refresh Data." When creating the macro, the stock info gets
updated but when I try to run the macro again there is a runtime error. Any
suggestions? Thanks,
--
miteeka


miteeka

Macro automatic update
 
How exactly do you create this Macro?

marc
--
miteeka


"AKphidelt" wrote:

I think putting it at the worksheet or workbook level would help. So anytime
you open up the workbook it automatically runs that macro and updates the
links.

"miteeka" wrote:

Hi,

I've created a spreadsheet that automatically updates stock quotes using
Import-Web query. Now I'm trying to create a Macro to update the info
automatically when I click on it. I've tried to create a Macro already by
clicking on "Refresh Data." When creating the macro, the stock info gets
updated but when I try to run the macro again there is a runtime error. Any
suggestions? Thanks,
--
miteeka



All times are GMT +1. The time now is 07:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com