Solved

Can't view Excel Macro Code using Alt-F11

Posted on 2012-03-15
5
503 Views
Last Modified: 2012-03-15
This is a strange one.  I am using Excel 2003, the OS is XP, and I've recorded a Macro without any problem.  I can also run it without any problem.

My issue is that I can't view the code.  The Macro ought to be viewable under Module1 but the Immediate pane on the right is blank.

Any help would be appreciated.
0
Comment
Question by:esemmoc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 12

Expert Comment

by:kgerb
ID: 37726577
hmmm...Are you saving the macro to your personal macro workbook?  Open the project explorer (Ctrl+r) and see if there are any other projects loaded where the macro might be stored.

Kyle
0
 
LVL 8

Expert Comment

by:2toria
ID: 37726579
Hi there.

Can you take a screenshot of what you see in the IDE and post it on here?  Might help diagnose the problem

Matt
0
 
LVL 12

Accepted Solution

by:
kgerb earned 350 total points
ID: 37726594
BTW, the immediate pane doesn't really have anything to do with your recorded macro.  The immediate window is used for running individual lines of code outside a subroutine.  It is also used for debugging but not for recorded macros.

Do you have the immediate window so large that it's covering up your code in the general code pane?

Kyle
0
 
LVL 47

Expert Comment

by:Martin Liss
ID: 37726619
Can you see the code when you do Tools|Macro|Macros|Edit|<select your macro>|Edit ?
0
 

Author Closing Comment

by:esemmoc
ID: 37726715
Yes, somehow the immediate pane was selected and I never realized that it was covering up the General pane.  When I closed it the General pane was visible.  

This affected any navigation that was intended to list out code e.g.   Tools --> Macros --> Step Into.

Thanks.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question