Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Module not recogized

Posted on 2013-11-30
6
Medium Priority
?
205 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 49

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 49

Accepted Solution

by:
Martin Liss earned 2000 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 does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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 49

Expert Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

916 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