Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hshayh0rn
 
Posts: n/a
Default Office 2000 vs 2003

I have some code that I created using Excel 2003 but when user's who have
2000 try to run it they get some errors. Here is a sample of the code they's
choking:

Columns("A:F").Select
Selection.Replace What:=" ", Replacement:=" ", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False

I was thinking it had something to do with the x1 part of the code but I'm
not sure. I'm not a programmer I just wrote this by recoding my tasks in a
macro and tying eveyrthing together. If there is an issue with code between
office versions is there a more standard format for me to use?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default Office 2000 vs 2003

I am using 2000 and it did not like the last 2 arguments when I tried it.
Try getting rid of , SearchFormat:=False, _
ReplaceFormat:=False

--
Kevin Vaughn


"hshayh0rn" wrote:

I have some code that I created using Excel 2003 but when user's who have
2000 try to run it they get some errors. Here is a sample of the code they's
choking:

Columns("A:F").Select
Selection.Replace What:=" ", Replacement:=" ", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False

I was thinking it had something to do with the x1 part of the code but I'm
not sure. I'm not a programmer I just wrote this by recoding my tasks in a
macro and tying eveyrthing together. If there is an issue with code between
office versions is there a more standard format for me to use?

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
office 2000 sue Excel Discussion (Misc queries) 1 August 12th 05 02:31 PM
Office XP Web Components supported by Office 2003 Chris P Excel Discussion (Misc queries) 0 June 21st 05 11:35 PM
HOW CAN I READ SPREADSHEETS CREATED BY OFFICE 2000 ON OFFICE 2003. BOLOMO3 Excel Worksheet Functions 1 March 31st 05 01:40 AM
moving administrative installation of MS Office 2000 Christian Phoenix Excel Discussion (Misc queries) 0 March 8th 05 08:33 PM
Excel 2000 file when opened in Excel 2003 generates errors? Doug Excel Discussion (Misc queries) 13 December 25th 04 10:20 PM


All times are GMT +1. The time now is 05:36 AM.

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"