Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Office 2003 update problem - Please Help!

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Office 2003 update problem - Please Help!

Thanks, p45. No, I just threw some arbitrary names for sheets in the quotes.
One tab is actually called "Write - Off", etc.

I think we figured out part of the problem. Users are linking to the form
through a web portal which is now causing the form to open within Internet
Explorer. When it is opened through Excel there doesn't seem to be any
problems, but when it has the IE background it doesn't seem to work. So this
is a whole new problem...

Thanks,
Mark


"p45cal" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Office 2003 update problem - Please Help!

This may not be a good solution for you...

I'd do my best to not let MSIE open the file:

How to Configure Internet Explorer to Open Office
Documents in the Appropriate Office Program Instead of in Internet Explorer
http://support.microsoft.com/?scid=162059

There are just too many things that don't work when an excel file is opened in a
browser.

peabrain25 wrote:

Thanks, p45. No, I just threw some arbitrary names for sheets in the quotes.
One tab is actually called "Write - Off", etc.

I think we figured out part of the problem. Users are linking to the form
through a web portal which is now causing the form to open within Internet
Explorer. When it is opened through Excel there doesn't seem to be any
problems, but when it has the IE background it doesn't seem to work. So this
is a whole new problem...

Thanks,
Mark

"p45cal" wrote:

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


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Office 2003 update problem - Please Help!

Dave,

Yeah, I agree that IE should not be opening the Excel file. Thank you for
the feedback, the article was definitely helpful!

Mark

"Dave Peterson" wrote:

This may not be a good solution for you...

I'd do my best to not let MSIE open the file:

How to Configure Internet Explorer to Open Office
Documents in the Appropriate Office Program Instead of in Internet Explorer
http://support.microsoft.com/?scid=162059

There are just too many things that don't work when an excel file is opened in a
browser.

peabrain25 wrote:

Thanks, p45. No, I just threw some arbitrary names for sheets in the quotes.
One tab is actually called "Write - Off", etc.

I think we figured out part of the problem. Users are linking to the form
through a web portal which is now causing the form to open within Internet
Explorer. When it is opened through Excel there doesn't seem to be any
problems, but when it has the IE background it doesn't seem to work. So this
is a whole new problem...

Thanks,
Mark

"p45cal" wrote:

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 doesn€„˘t 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


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I update calenders on Office 2003 to 2010 in Excel z1uncle Excel Discussion (Misc queries) 1 May 28th 10 01:06 AM
Problem with Interop.Excel after uninstalling Office 2007 and installing Office 2003 Bill F[_2_] Excel Programming 2 May 2nd 07 02:52 PM
Office 2003 Compatability Problem (I think) KimR.Hammel[_2_] Excel Programming 0 November 29th 05 02:36 AM
Excel 2003 - Update or Don't Update Links Problem Jamie Excel Programming 4 July 7th 05 02:08 PM
Problem sharing spreadsheet between Office10 (Office XP) and Office 11 (Office 2003) Sage Solutions Group Excel Programming 0 August 20th 04 08:58 PM


All times are GMT +1. The time now is 11:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"