How to Automatically Update Stock Prices in Excel – 3 Methods

The following dataset showcases stock information of different companies.

how do you automatically update stock prices in excel


Method 1- Right-click to Automatically Update the Stock Prices in Excel

Steps:

  • Create a chart like the one in the following picture. Use the correct abbreviation of the company name.
  • Select the range and go to Data >> Stock

You will see the company names converted to Stock format.

how do you automatically update stock prices in excel

  • Click the icon marked with 1 in the image below and select Price.

  • Click the same icon and select Change.

how do you automatically update stock prices in excel

  • Select Change (%).

  • Select Last Trade Time.

how do you automatically update stock prices in excel

You will see current information about the stock companies.

  • Select  B5:B10 and right-click any of the selected cells.
  • Go to Data Type >> Refresh Settings

how do you automatically update stock prices in excel

You can also select Refresh to update stock prices instantly.

  • In the Data Type Refresh Settings window, click Stock and choose any of the Refresh Options. Here, Automatically every 5 minutes.

Stock prices will be updated every 5 minutes.
This is the screenshot 2 hours ago.

how do you automatically update stock prices in excel

And this is the current data.

 

Read More: How to Get Stock Prices in Excel


Method 2 – Using a VBA to Automatically Update Stock Prices in Excel

  • Go to Developer >> Visual Basic to open the VBA

how do you automatically update stock prices in excel

  • Open ThisWorkbook.

  • Use the following code.
Private Sub Workbook_Open()
ThisWorkbook.RefreshAll
MsgBox "Stock Information are Updated."
End Sub

how do you automatically update stock prices in excel

  • Press CTRL+S to save the code.
  • It will update stock prices with a Message Box.

 

Read More: How to Import Stock Prices into Excel from Yahoo Finance


Method 3 – Applying the Refresh Command to Automatically Update Stock Prices

Steps:

  • Select Data >> Refresh All or press CTRL+ALT+F5

how do you automatically update stock prices in excel

  • Stock prices and other information will be updated.

Read More: How to Import Stock Prices into Excel from Google Finance


Practice Section

Practice here.

how do you automatically update stock prices in excel


Download Practice Workbook


Related Articles


<< Go Back to Stocks In Excel| Excel for Finance | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Meraz Al Nahian
Meraz Al Nahian

Md. Meraz Al Nahian has worked with the ExcelDemy project for over 1.5 years. He wrote 140+ articles for ExcelDemy. He also solved a lot of user problems and worked on dashboards. He is interested in data analysis, advanced Excel, statistics, and dashboards. He also likes to explore various Excel and VBA applications. He completed his graduation in Electrical & Electronic Engineering from Bangladesh University of Engineering & Technology (BUET). He enjoys exploring Excel-related features to gain efficiency... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo