LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Incompatibility between Excel97 and Excel95 macros

Thanks for suggestion.

Question. If I create a button using the controls tool box, will the
sheet be compatible with the user running Excel95?

Problem: I created button using controls tool box as suggested, but for
some reason the original macro code would no longer run correctly. I
need to debug.

Observation: Button created using FORMS tool seems to be associated with
the row of the spreadsheet where it was located when the form was created.

Planned Approach: To get around problem, I'm going to try placing all
the "buttons" in a custom tool bar. That way they should not end up
being associated with a specific row on a sheet.

Buczacz

wrote:
Maybe using the control toolbox to create your button
would work rather than the forms toolbox. You will need to
enter the name of your macro within the _click macro for
the button to work.



-----Original Message-----
I've spent lots of time looking at this with zip


results. Perhaps one

of the pros that read this post can tell me what I'm


doing wrong.

In a macro written using Excel95 I decla

Public IDN As Integer
Then in the macro "Contact_History" I use the


command:

IDN = ActiveSheet.Cells(ActiveCell.Row, 1).Value

The macro is activated by clicking a SOFTWARE button


assigned to the

macro "Contact_History" positioned in the top row over


cell B1.

When using EXCEL95, when I click on the SOFTWARE button


assigned to the

macro "Contact History," The macro runs and IDN is the


value in the

first column of the row containing the active cell as


expected.

When using EXCEL97, when I click on the SOFTWARE button


assigned to the

macro "Contact History," The macro runs and IDN ends up


being the value

of the first column of the TOP row. After the macro has


run, the

selected cell is no longer the initially selected cell;


it is now the

top left cell.

When I run the macro from the pull-down tools menu, the


macro runs

correctly. Furthermore, the initially selected cell


remains the

selected cell after the macro has run.

It seems that in my version of Excel97, the action of


clicking on the

SOFTWARE button also makes the underlying cell the active


cell.

Can anyone offer a suggestion as to how to get out of


this problem other

than by the elimination of the SOFTWARE button?

WindsurferLA


.



 
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
All-in-one printing incompatibility with EXCEL in landscape mode ccorley New Users to Excel 3 September 23rd 09 04:17 PM
Windows Vista and Excel 2000 -- incompatibility? Lindsay Graham Excel Discussion (Misc queries) 10 August 3rd 08 03:59 PM
Time for M$ to fix incompatibility with Office & Works Steve Garry Excel Discussion (Misc queries) 0 April 20th 06 09:10 PM
Training on macros in Excel97 using Windows 98 BT Bill Excel Worksheet Functions 1 March 4th 05 08:41 AM
Excel97 versus Excel95 buczacz Excel Programming 1 November 2nd 03 02:26 AM


All times are GMT +1. The time now is 02:44 PM.

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"