Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Code runs different on different machines

On Feb 16, 9:41*am, AB wrote:
Not that i'm aware of (in the scenario you describe anyway).
Try stepping through the code (F8) and see what causes it to do so.

On Feb 16, 3:44*pm, Andrew wrote:

Hello,
I have a long excel program which runs fine (and has been running fine
for about a year) on all machines except one. *One this one machine I
get some odd behavior. *It is as follows:


A user form is used to enter values into cells in one of the
worksheets. *There are 5 values, two strings, two currency values, and
1 number. *On this one particular machine, the values enter into the
sheet in a repeated form, as if they were part of an array. *So, the
userform input number 105.00 would show up on the worksheet as 105.00
105.00 105.00 105.00 105.00 105.00 105.00.


As I said, this code has been running fine on three other machines for
about a year. *The only problem I've had is on this one machine. *All
machines are using Excel 2007.


Does anyone know if there is a setting in the excel options area which
could affect how the macro runs? *Or any other reason why a macro
would run on one machine and not another?


thanks,
Andy


I've done the F8 walk through, the error occurs when the command to
write to the cell is made. But I don't see why there would be an
error. But here's some new and odd information: We went into Excel
Options Advanced Lotus Compatibility and selected the box for
Transition Navigation keys. The only reason we did this was because
the other machines had that setting selected. After doing that, the
code worked. ??? I wrote the code myself, and there are no lotus
commands in it. The whole thing was done on Excel 2007. Can someone
explain how that setting could have made a difference?
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
CSV code works on some, but not all machines Ken Warthen[_2_] Excel Programming 3 August 7th 09 11:08 PM
this line of code works on some machines but not others akh2103 Excel Programming 1 January 27th 07 01:30 AM
This code crashes on one but not all machines? Any ideas? akh2103 Excel Programming 0 January 26th 07 11:00 PM
Code only runs once Kent Excel Programming 3 November 24th 05 03:47 PM
Inexplicable difference in row hiding speed - identical code, identical machines! Matt Larkin Excel Programming 5 November 1st 04 10:35 AM


All times are GMT +1. The time now is 06:52 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"