Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I notice that your statements below include a space between the word 'Sheet'
and its number. On my excel 2003 there is no space. Could it be that the upgrade has changed the names of the sheets? -- p45cal "peabrain25" wrote: Hello, Our company is in the process of upgrading from Office 2002 to Office 2003. We are encountering a problem with some of our Excel macros. The workbook is set up with a variety of different request forms, each on its own tab. There are several shortcut buttons to jump from form to form. Each of these shortcuts has VB code behind it that simply says: Sheets(€śSheet 1€ť).Activate Sheets(€śSheet 2€ť).Activate Etc. All of these still work fine. The problem is that the same code doesnt work when it is called from a userform. When the user clicks a button, for example, the macro successfully runs and the userform is shown. All the buttons on the form work except for one which bombs on the statement: Sheets(€śSheet 1€ť).Activate I tried using a .Select statement instead but that also did not work. Everything works well in Office 2002, but for some reason after the upgrade, this consistently bombs in 2003. Has anyone else encountered this, or have any ideas for a fix? Thanks, Mark |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I update calenders on Office 2003 to 2010 in Excel | Excel Discussion (Misc queries) | |||
Problem with Interop.Excel after uninstalling Office 2007 and installing Office 2003 | Excel Programming | |||
Office 2003 Compatability Problem (I think) | Excel Programming | |||
Excel 2003 - Update or Don't Update Links Problem | Excel Programming | |||
Problem sharing spreadsheet between Office10 (Office XP) and Office 11 (Office 2003) | Excel Programming |