Solved

Module not recogized

Posted on 2013-11-30
6
172 Views
Last Modified: 2013-11-30
Folks,
Open the attached workbook and select the first tab. When you click on the command button it is to call a module but gives me an error object missing. I have checked my spelling and attached within the workbook the modules I am using.
I'm out of options to launch this module.
DetectFormalCells.xlsm
0
Comment
Question by:Frank Freese
  • 3
  • 3
6 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39687407
The only code in the workbook is this which is in the UserDefinedDetectCells sheet. When that sheet is activated the code runs so please restate the problem.

Private Sub cmdDisplayDataDetectCells_Click()
DetectFormulaCells
End Sub
Private Sub Worksheet_Activate()
ActiveSheet.Range("A2:C10").Select
Selection.FormatConditions.Delete
Selection.NumberFormat = ";;;"
Range("A1").Select
End Sub

Open in new window

0
 

Author Comment

by:Frank Freese
ID: 39687423
In the "cmdDisplayDataDetectCells" command button (Display Data) I call a module "DetectFormatCells"
I've included the module in the worksheet. Do you see the code in the command button?
0
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 39687432
There is no module and no procedure called DetectFormulaCells. Do you want the code that's in Worksheet_Activate to run when you click that button? Do you want it to run from both places?No module
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:Frank Freese
ID: 39687454
Martin,
For reasons unknown the modules I used were NOT were they were suppose to be. Good catch
0
 

Author Closing Comment

by:Frank Freese
ID: 39687455
thank you
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39687457
You're welcome.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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 …
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

773 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