Many errors when running 2007 code in 2016

earldunning

Active Member
Joined
Nov 9, 2006
Messages
263
From what I understand there are many functions in the 2007 code that are no longer supported in 2016.
Does anyone have a master list of things that no longer work in 2007 and what it needs to change to in 2016?
Otherwise I would need to research every error individually.

Example:
Code:
DateToday = Format(Now, "m/dd/yyyy")

This actually errors on the "Format." I have many other instances of errors when using 2007 code in 2016.

Master list anyone?
Thanks
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Format is definitely supported in 2016 and I've not heard of many (any?) standard functions not supported in 2016.

What's the error when you run that code?
 
Upvote 0
Compile error: Cannot find Library or Project

If we leave 2007 and 2016 both on the system, and run it in 2016, it doesnt error. But if we run it in 2016 without 2007 installed, it errors. It seems like its looking for libraries from 2007. (but cant leave both on anymore)
 
Last edited:
Upvote 0
I think if you want/need to have multiple different versions of Excel on the same machine you need to install them in a certain way.

I've never had to that, or felt the need, and the only problems I've never had any problems when moving to the newer version.

In the workbook you have the problem with Format what do you see when you goto Tools>References...?
 
Upvote 0
Yes, we actually installed them in a certain way to keep it running lately. But now we have no option but to remove 2007.
Once you said it should work, I researched more and found a person that had a similar issue. They also referenced Tools/References.
You were right.
Tool/References had "MISSING: 2007 Calendar Control." Once I unchecked that and saved, everything seems to be working again!!!

Thanks for the help!!
 
Upvote 0
No problem.:)

Mind you, one of the things that is missing from Excel 2016 are controls like the Calendar Control so if you have any workbooks that used those type of controls you might have some problems.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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