Hi All,
I'm using excel 2007 (but also excel 2000!). I have imported a selection from a worksheet into an array and need to run some functions on the array such as the transpose function ( application.transpose(Arr) where Arr is a variant array). However it's comes up with a type mismatch error. I've narrowed the issue down to being the length of an array item being more than 255 characters long. As long as all entries in each cell that are to be imported are no more than 255 characters everything works fine. However I have to handle this scenario and so please could some one advise how best to do it.
Examples of the string I have to handle but the text could be anything really - I'd say to cpoe with 1000 characters would be plenty.
cell A1: Brand & other related char type changed to Asda Chosen By you & flavour changed to Smoky Barbecue. http://groceries.asda.com/asda-estor...requestid=4447
cell A2: Brand & other related char type changed to Asda Chosen By you & flavour changed to Smoky Barbecue. http://groceries.asda.com/asda-estor...questid=444767
cell A3: Brand & other related char type changed to Asda Chosen By you as well as flavour also changed to Chilli Cheese as per http://groceries.asda.com/asda-estor...questid=430427
Hope someone can help
Many thanks
Rodp
Bookmarks