Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Major 2007 Excel Problem
We recently changed to Office 2007 all our previous work done in Excel 2003.
Almost immeadiately our 2003 programs using in house designed UserForms began giving us problems -- we have tried all the new file extensions etc all to no avail -- the only way we seem to be able to resolve the problem is that on opening Excel we have to compile and save in VBA then everything runs ok in that program, if we have to close down Excel and then reopen again its compile and save before use. We have tried compile and save before closing again it will not run without compile and save on re-opening. Any suggestions out there??? re-writing in 2007 is not really an option some of the stuff is to big. -- Many thanks hazel |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Major 2007 Excel Problem
Hazel
It is impossible to know without some example and where it is going wrong. What do you mean by 'Compile'? There are some issues with VBA in Excel 2007, particularly around the chart and shapes area, but most code should run ok. Let us have a little more specifics -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England DTHIS web: www.nickhodge.co.uk blog: www.nickhodge.co.uk/blog/ FREE UK OFFICE USER GROUP MEETING, MS READING, 27th APRIL 2007 www.officeusergroup.co.uk "Hazel" wrote in message ... We recently changed to Office 2007 all our previous work done in Excel 2003. Almost immeadiately our 2003 programs using in house designed UserForms began giving us problems -- we have tried all the new file extensions etc all to no avail -- the only way we seem to be able to resolve the problem is that on opening Excel we have to compile and save in VBA then everything runs ok in that program, if we have to close down Excel and then reopen again its compile and save before use. We have tried compile and save before closing again it will not run without compile and save on re-opening. Any suggestions out there??? re-writing in 2007 is not really an option some of the stuff is to big. -- Many thanks hazel |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Major 2007 Excel Problem
Hi Nick
Thanks for the response :- Here goes - Open Excel program e.g. Fed1 on the Ribbon click Developer Open Visual Basic Debug Compile VBA Project Save. Program Fed1 runs OK no problem - close down Save Changes Re Open Fed1 have to go through the same proceedure as above. Does this help??? -- Many thanks hazel "Nick Hodge" wrote: Hazel It is impossible to know without some example and where it is going wrong. What do you mean by 'Compile'? There are some issues with VBA in Excel 2007, particularly around the chart and shapes area, but most code should run ok. Let us have a little more specifics -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England DTHIS web: www.nickhodge.co.uk blog: www.nickhodge.co.uk/blog/ FREE UK OFFICE USER GROUP MEETING, MS READING, 27th APRIL 2007 www.officeusergroup.co.uk "Hazel" wrote in message ... We recently changed to Office 2007 all our previous work done in Excel 2003. Almost immeadiately our 2003 programs using in house designed UserForms began giving us problems -- we have tried all the new file extensions etc all to no avail -- the only way we seem to be able to resolve the problem is that on opening Excel we have to compile and save in VBA then everything runs ok in that program, if we have to close down Excel and then reopen again its compile and save before use. We have tried compile and save before closing again it will not run without compile and save on re-opening. Any suggestions out there??? re-writing in 2007 is not really an option some of the stuff is to big. -- Many thanks hazel |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Major 2007 Excel Problem
Hazel, try Rob Bovey's code cleaner at
http://www.appspro.com/Utilities/CodeCleaner.htm. It sounds like you have old userforms and modules and perhaps replacing with new ones will solve. I'm suspecting that very old ones do not get along well with Excel 2007. Let us know. Bob Flanagan Macro Systems http://www.add-ins.com Productivity add-ins and downloadable books on VB macros for Excel "Hazel" wrote in message ... We recently changed to Office 2007 all our previous work done in Excel 2003. Almost immeadiately our 2003 programs using in house designed UserForms began giving us problems -- we have tried all the new file extensions etc all to no avail -- the only way we seem to be able to resolve the problem is that on opening Excel we have to compile and save in VBA then everything runs ok in that program, if we have to close down Excel and then reopen again its compile and save before use. We have tried compile and save before closing again it will not run without compile and save on re-opening. Any suggestions out there??? re-writing in 2007 is not really an option some of the stuff is to big. -- Many thanks hazel |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Major 2007 Excel Problem
I think the real issue it, what goes wrong when you do not recompile. What
are the problems you alluded to? I've tried a number of our Excel apps in 2007 and, while I've had issues, none of them were addressed by a recompile. -- Jim "Hazel" wrote in message ... Hi Nick Thanks for the response :- Here goes - Open Excel program e.g. Fed1 on the Ribbon click Developer Open Visual Basic Debug Compile VBA Project Save. Program Fed1 runs OK no problem - close down Save Changes Re Open Fed1 have to go through the same proceedure as above. Does this help??? -- Many thanks hazel "Nick Hodge" wrote: Hazel It is impossible to know without some example and where it is going wrong. What do you mean by 'Compile'? There are some issues with VBA in Excel 2007, particularly around the chart and shapes area, but most code should run ok. Let us have a little more specifics -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England DTHIS web: www.nickhodge.co.uk blog: www.nickhodge.co.uk/blog/ FREE UK OFFICE USER GROUP MEETING, MS READING, 27th APRIL 2007 www.officeusergroup.co.uk "Hazel" wrote in message ... We recently changed to Office 2007 all our previous work done in Excel 2003. Almost immeadiately our 2003 programs using in house designed UserForms began giving us problems -- we have tried all the new file extensions etc all to no avail -- the only way we seem to be able to resolve the problem is that on opening Excel we have to compile and save in VBA then everything runs ok in that program, if we have to close down Excel and then reopen again its compile and save before use. We have tried compile and save before closing again it will not run without compile and save on re-opening. Any suggestions out there??? re-writing in 2007 is not really an option some of the stuff is to big. -- Many thanks hazel |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Major 2007 Excel Problem
Hi All
I downloaded the code cleaner as suggested by Bob and it threw error it was looping back through some old code that had not been commented out properly when I eventually found it and cleared it out it ran perfectly. The Code Cleaner is now permanently in the tools menu in VBA and will I'm sure be used regularly. -- Many thanks hazel "Bob Flanagan" wrote: Hazel, try Rob Bovey's code cleaner at http://www.appspro.com/Utilities/CodeCleaner.htm. It sounds like you have old userforms and modules and perhaps replacing with new ones will solve. I'm suspecting that very old ones do not get along well with Excel 2007. Let us know. Bob Flanagan Macro Systems http://www.add-ins.com Productivity add-ins and downloadable books on VB macros for Excel "Hazel" wrote in message ... We recently changed to Office 2007 all our previous work done in Excel 2003. Almost immeadiately our 2003 programs using in house designed UserForms began giving us problems -- we have tried all the new file extensions etc all to no avail -- the only way we seem to be able to resolve the problem is that on opening Excel we have to compile and save in VBA then everything runs ok in that program, if we have to close down Excel and then reopen again its compile and save before use. We have tried compile and save before closing again it will not run without compile and save on re-opening. Any suggestions out there??? re-writing in 2007 is not really an option some of the stuff is to big. -- Many thanks hazel |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Major and minor gridlines on logarithmic axis excel 2007 | Excel Discussion (Misc queries) | |||
Major and minor gridlines on logarithmic axis excel 2007 | Charts and Charting in Excel | |||
Major gridlines - worked great on Excel 2003 but not 2007 | Charts and Charting in Excel | |||
Excel Macros - Any Major Differences Between 2003 and 2007 | Excel Worksheet Functions | |||
Major bug when serving Excel 2007 files through IE? | Excel Discussion (Misc queries) |