LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run-time error 1004. Application-defined or object-defined error

The code for this procedure was originally written in Excel 2000 on a
machine using Windows 2000, I am in the process of moving this and others to
a machine using Windows XP Home and Excel 2000.

I get the above error with the third line of the following code. This has
previously run successfully.

Marke****chRng.Offset(0, 3).Value = Marke****chPos2Str

Marke****chRng.Offset(0, 4).Value = Marke****chPos4Str

Marke****chRng.Offset(0, 5).Value = Marke****chPos5Str
'*** Error occurs at this line***


Debug.Print Marke****chRng.Offset(0, 3).Address
Debug.Print Marke****chPos2Str
Debug.Print Marke****chRng.Offset(0, 4).Address
Debug.Print Marke****chPos4Str
Debug.Print Marke****chRng.Offset(0, 5).Address
Debug.Print Marke****chPos5Str

produces the following in the Immediate window.

$D$7055
10:26am

$E$7055
at=",2" mwfield="Price"6,550.20</SPAN</SPAN<IMG
$F$7055
="UK:1805550" mwformat=",2" mwfield="Price"6,550.20</S

I don't know where to start to look to eliminate the error. Any suggestions
greatly appreciated.

Thanks
Martin


 
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
Run Time Error 1004: Application-Defined or Object-Defined Error Diana[_7_] Excel Programming 6 April 17th 07 04:21 PM
Run Time Error 1004 - Application-defined or object-defined error brent Excel Programming 2 October 3rd 05 05:23 PM
Run-time Error 1004: Application-defined or Object-defined Error Adrian Excel Programming 6 August 23rd 05 06:28 AM
Macro Run-time Error 1004 Application Defined or Object Defined Error Anddmx Excel Programming 6 June 9th 04 03:40 PM


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