Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default xpath error? Runtime Error 13 type mismatch

I am running the following code and get Runtime Error 13 type mismatch
The locals window for GetData shows xpath with the following message
: XPath : <The specified range is invalid due to one or more of the
following reasons:
€¢The range refers to cells in more than one column.
€¢The range contains mapped cells from more than one XML



Set GetData =
Range("Retrive_Data_Range").Offset(rowOffset:=Rang e("Index_Num").Value)
******Error appears to happen in the line of code below******
Range("Original_Import_Data").Value = Application.Transpose(GetData.Value)
Range("Revised_Data").Value = Range("Original_Data").Value


Notes
Range("Retrive_Data_Range") is set to the first row of data that I store
Range("Index_Num") resulting index # from a combobox
Range("Original_Import_Data") full stored customer dataset
Range("Revised_Data") is a subset of ("Original_Import_Data") used to track
user changes
Range("Original_Data") the same subset of ("Original_Import_Data") used to
track user changes

After some additional research this is only happening in records where I
have more than 256 characters (including spaces) in one cell.

Does anyone know a way around this?

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
xpath error? Runtime Error 13 type mismatch SteveM Excel Discussion (Misc queries) 1 December 4th 07 09:16 AM
Type Mismatch Error - Help Please Launchnet Excel Worksheet Functions 5 July 20th 07 04:35 AM
Type Mismatch Error David Excel Discussion (Misc queries) 2 December 11th 05 04:46 PM
Runtime Error 13 - type mismatch hindlehey Excel Discussion (Misc queries) 1 November 7th 05 02:51 PM
Why type mismatch - R/T error 13 Jim May Excel Discussion (Misc queries) 5 January 9th 05 06:45 PM


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