Excel 2010-Now
Excel 2007
Excel 2003
Tips & Tricks
Excel Forum
Course Index CIG Excel Book
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Stock Portfolio    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Macro in Stock Portfolio
Dan Dewey 
    
5 years ago
Richard,
I reviewed your Excel video on stock portfolio and followed your instructions to include a button to update my stock prices.  Some background: I have the recent Microsoft release. I have set up my documents to be automatically saved to Microsoft's "One Drive". My  portfolio has a security code feature.  I am told because of this "feature" this document will not be automatically saved and you have to manually save it when you exit the spreadsheet. I saved my spreadsheet and reopened it and clicked on the macro button and I get the following response. "Cannot run the macro "DG Invest Portfolio 2021.xlsx'!Update Prices'. The macro may not be available in this workbook or all macros may be disabled. Is there a problem using Macros when you use the security code feature?  Or is it something else?
Kevin Robertson  @Reply  
          
5 years ago
Have you saved your workbook as a Macro-Enabled Workbook (xlsm)? Excel won't run Macros in a standard Excel Workbook (xlsx).
Scott Axton  @Reply  
        
5 years ago
You may have to put it in a Trusted Location as well.  
File -> Options -> Trust Center -> Trust Center Settings...

Trusted Locations
Richard Rost  @Reply  
           
5 years ago
What they said. Also, try running it from a LOCAL trusted folder first. If it works there, then it's your security settings.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Stock Portfolio.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/24/2026 10:16:21 PM. PLT: 1s