Compile Error:Sub or Function not defined

protect02476

New Member
Joined
Apr 1, 2010
Messages
6
I tried converting an excel 2003 wb to 2007 and recieved this error message when clicking one of the macro enabled comboboxes in the wb:

Compile error: Sub or Fuction not defined

Private Sub Combobox2_Change()
Call include_logo (Combobox2.Value)
End Sub

I didn't write the VBA code so I will not be able to help much in answering any technical questions. I'd be willing to send the file to you for examination. Can anyone help? Thanks in advance!
 
Last edited:
Rory, I can but in the wb I'm using the vba password is unknown. It was created by an excel developer for my business who I can't contact any longer. I might be stuck staying with 2003. But thanks for all your help. I have to leave so I won't be able to respond until later today to any future posts. Thanks again!
 
Upvote 0

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
VBA password will not be a problem... ;)
 
Upvote 0

Forum statistics

Threads
1,215,586
Messages
6,125,689
Members
449,250
Latest member
azur3

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