Class Module

seboseszuk

New Member
Joined
Jun 4, 2011
Messages
18
Book: VB and Macros
for Microsoft Office
Excel 2007
Bill "Mr.Excel Jelen
Tracy Syrstad

page 481-482


Code results in error message indicating
Dim Employee as clsEmployee
as the culprit.
Error Message:

Compile Error
Expected user defined type, not project
Thanks in advance, Gabor at gabelene@townisp.com or right here.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
For those of us that don't have that book, how about posting the entire code?
 
Upvote 0
Gabor

If you post the full code then there's more chance that somebody can help you.:)

PS It's probably not a good idea to post your email address here.
 
Upvote 0
I don't think we need to see the file right now.

Just post the code, using code tags - see the link on my signature.

That should do for now.:)
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,947
Latest member
Gerry_F

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top