Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 320
Default 2002 versus 2007 question

I get 5 on my 2007 machine.
Code looks fine to me.

"Otto Moehrbach" wrote in message
...
I have Excel 2002 and I'm helping an OP who has 2007.
The following macro is a simplification of our problem but does
demonstrate the problem.
On my 2002 machine, the message box produces a 5. On his 2007 machine, he
gets a 0.
Sub TestInStr()
TheFile = "S12 Old.doc"
MsgBox InStr(TheFile, "Old.")
End Sub

What am I missing? Thanks for your time. Otto



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
2002 versus 2007 question Otto Moehrbach[_2_] Excel Programming 0 June 16th 09 09:17 PM
2002 versus 2007 question Rick Rothstein Excel Programming 0 June 16th 09 08:56 PM
2002 versus 2007 question Rick Rothstein Excel Programming 0 June 16th 09 08:54 PM
UserInterfaceOnly in 2000 versus 2002 Lee S[_2_] Excel Programming 4 August 17th 05 03:43 AM
Excel 2000 versus Excel 2002 question Carla[_4_] Excel Programming 1 July 22nd 04 06:54 PM


All times are GMT +1. The time now is 04:26 PM.

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

About Us

"It's about Microsoft Excel"