SOLVED

Stock data updating as file opens

%3CLINGO-SUB%20id%3D%22lingo-sub-2609465%22%20slang%3D%22en-US%22%3EStock%20data%20updating%20as%20file%20opens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2609465%22%20slang%3D%22en-US%22%3E%3CP%3ESomething%20has%20changed%20in%20Excel%20for%20me.%20When%20I%20open%20a%20file%20that%20has%20stock%20data%20in%20it%2C%20it%20is%20updating%20the%20stock%20data%20immediately.%20It%20used%20to%20be%20I%20would%20open%20the%20file%20and%20then%20update%20the%20data.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20need%20to%20figure%20out%20how%20to%20go%20back%20to%20that%20method%20because%20I%20use%20a%20macro%20to%20copy%20yesterday's%20data%20to%20a%20new%20column%20and%20then%20update%20the%20stock%20information.%20Now%20the%20information%20updates%20immediately%20and%20I%20cannot%20get%20the%20previous%20day's%20data%20copied.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2609465%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2609539%22%20slang%3D%22en-US%22%3ERe%3A%20Stock%20data%20updating%20as%20file%20opens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2609539%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F464502%22%20target%3D%22_blank%22%3E%40Rory_B%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20watched%20the%20video%20minutes%20ago%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DW0vU24qx8aQ%26amp%3Bt%3D86s%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DW0vU24qx8aQ%26amp%3Bt%3D86s%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2609728%22%20slang%3D%22en-US%22%3ERe%3A%20Stock%20data%20updating%20as%20file%20opens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2609728%22%20slang%3D%22en-US%22%3E%3CP%3EThat%20helped.%20I%20guess%20that%20added%20that%20feature%20recently.%3CBR%20%2F%3EI%20wish%20they%20had%20set%20it%20to%20manual%20since%20that%20was%20basically%20the%20default%20before%20they%20added%20the%20feature.%3CBR%20%2F%3EIt%20is%20also%20interesting%20that%20is%20only%20in%20the%20right%20click%20menu%20on%20the%20stock%20data%20and%20not%20in%20the%20data%20section%20of%20the%20ribbon.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBTW%20I%20am%20only%20in%20Win10%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2965825%22%20slang%3D%22en-US%22%3ERe%3A%20Stock%20data%20updating%20as%20file%20opens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2965825%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20--%20I%20also%20found%20that%20video%20helpful%20as%20I%20had%20the%20same%20problem%20as%20the%20OP.%3CBR%20%2F%3E%3CBR%20%2F%3EUntil%20recently%2C%20refreshing%20stock%20quote%20data%20in%20Excel%20was%20under%20my%20control%2C%20but%20lately%20it%20changed%20to%20occurring%20automatically%20after%20the%20workbook%20is%20opened.%20What's%20worse%20is%20that%2C%20unlike%20manual%20data%20refreshes%20(%22Refresh%20All%22%20in%20the%20Data%20ribbon)%2C%20I%20can't%20undo%20(CTRL-Z)%20the%20automatically%20refreshed%20data%20to%20restore%20the%20data%20from%20the%20earlier%20time.%3CBR%20%2F%3E%3CBR%20%2F%3EAnyway%20for%20those%20who%20aren't%20able%20to%20watch%20the%20video%20(I%20previously%20worked%20somewhere%20that%20blocked%20YouTube)%2C%20here's%20how%20to%20disable%20the%20automatic%20refresh%20for%20the%20stock%20data%20type%3A%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20Right-click%20the%20stock%20data%20type%20icon%20in%20any%20stock%20data%20type%20cell.%20(I'm%20referring%20to%20the%20icon%20that%20looks%20like%20the%20front%20of%20the%20NYSE%20stock%20exchange.)%3CBR%20%2F%3E%3CBR%20%2F%3E2.%20In%20the%20context%20menu%20that%20appears%2C%20choose%20%22Data%20Type%22%2C%20followed%20by%20%22Refresh%20Settings%22%20from%20the%20sub-menu%20that%20appears.%3CBR%20%2F%3E%3CBR%20%2F%3E3.%20In%20the%20Data%20Types%20Refresh%20Settings%20panel%20that%20opens%2C%20click%20%22Stocks%22%20to%20expand.%3CBR%20%2F%3E%3CBR%20%2F%3E4.%20Under%20%22Refresh%20this%20data%20type%22%2C%20click%20%22Manually%22.%20You%20can%20close%20the%20Data%20Types%20Refresh%20Settings%20panel.%3CBR%20%2F%3E%3CBR%20%2F%3E5.%20Save%20your%20workbook.%3CBR%20%2F%3E%3CBR%20%2F%3EFinally%2C%20I%20wondered%20if%20that%20change%20applied%20only%20to%20the%20one%20cell%20--%20it%20doesn't.%20Rather%2C%20it%20applies%20to%20the%20entire%20stock%20data%20type%20for%20the%20workbook%2C%20so%20it%20doesn't%20matter%20which%20icon%20you%20right-click%20to%20access%20the%20Data%20Types%20Refresh%20Settings%20panel.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2967279%22%20slang%3D%22en-US%22%3ERe%3A%20Stock%20data%20updating%20as%20file%20opens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2967279%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F464502%22%20target%3D%22_blank%22%3E%40Rory_B%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20menu%20is%20from%20right%20click%20on%20icon%20since%20it%20depends%20on%20which%20data%20type%20you%20use.%20One%20settings%20for%20Stocks%2C%20another%20settings%20for%20Organizational%20and%20you%20have%20no%20options%20for%2C%20for%20example%2C%20Geography.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOther%20words%2C%20there%20are%20no%20common%20settings%20for%20all%20data%20types.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Something has changed in Excel for me. When I open a file that has stock data in it, it is updating the stock data immediately. It used to be I would open the file and then update the data.

I need to figure out how to go back to that method because I use a macro to copy yesterday's data to a new column and then update the stock information. Now the information updates immediately and I cannot get the previous day's data copied.

9 Replies
best response confirmed by Rory_B (New Contributor)
Solution

@Rory_B 

Just watched the video minutes ago:

https://www.youtube.com/watch?v=W0vU24qx8aQ&t=86s

 

That helped. I guess they added that feature recently.
I wish they had set it to manual by default since that was basically the default before they added the feature.
It is also interesting that is only in the right click menu on the stock data and not in the data section of the ribbon.

 

BTW I am only in Win10

Thanks -- I also found that video helpful as I had the same problem as the OP.

Until recently, refreshing stock quote data in Excel was under my control, but lately it changed to occurring automatically after the workbook is opened. What's worse is that, unlike manual data refreshes ("Refresh All" in the Data ribbon), I can't undo (CTRL-Z) the automatically refreshed data to restore the data from the earlier time.

Anyway for those who aren't able to watch the video (I previously worked somewhere that blocked YouTube), here's how to disable the automatic refresh for the stock data type:

1. Right-click the stock data type icon in any stock data type cell. (I'm referring to the icon that looks like the front of the NYSE stock exchange.)

2. In the context menu that appears, choose "Data Type", followed by "Refresh Settings" from the sub-menu that appears.

3. In the Data Types Refresh Settings panel that opens, click "Stocks" to expand.

4. Under "Refresh this data type", click "Manually". You can close the Data Types Refresh Settings panel.

5. Save your workbook.

Finally, I wondered if that change applied only to the one cell -- it doesn't. Rather, it applies to the entire stock data type for the workbook, so it doesn't matter which icon you right-click to access the Data Types Refresh Settings panel.

@Rory_B 

This menu is from right click on icon since it depends on which data type you use. One settings for Stocks, another settings for Organizational and you have no options for, for example, Geography.

 

Other words, there are no common settings for all data types.

How do you get your old data back though? As soon as I open the 30/9/21 data goes before I can change it to manual update only.
I guess you could use STOCKHISTORY().
Thanks but there is me login in to do a ten second job and Microsoft are now making me rebuild five years of quarterly valuations. Do they consult on changes like this? So frustrating.

@Toddfrey What if you were to go offline / airplane mode before opening your workbook? Excel can't update the prices if there's no Internet access.

Thanks that worked @cwrea