Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Matrices in VBA / Excel

Hello,

I have something like:

Dim a As Range
Set a = (some range containing only doubles)

Dim b As Range
Set b = (some range the same size than a's)

b.value = a + a

When watching "a+a" i get a <Type mismatch error. It works fine with
WorksheetFunctions like MInverse or MMult. I can't get the addition to work.

Any help would be greatly appreciated.

Many thanks,

--
Antoine Cellerier
dionoea
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Matrices in VBA / Excel

You have a suggestion at your post in .excel.

Antoine Cellerier wrote:

Hello,

I have something like:

Dim a As Range
Set a = (some range containing only doubles)

Dim b As Range
Set b = (some range the same size than a's)

b.value = a + a

When watching "a+a" i get a <Type mismatch error. It works fine with
WorksheetFunctions like MInverse or MMult. I can't get the addition to work.

Any help would be greatly appreciated.

Many thanks,

--
Antoine Cellerier
dionoea


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Matrices in VBA / Excel

Dave Peterson wrote:
You have a suggestion at your post in .excel.


Thanks :) (i had deleted my post in ms.public.excel thinking that this
newsgroup was better suited ... but i'll continue the thread there too)

--
Antoine Cellerier
dionoea
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
Comparing two matrices [email protected] Excel Discussion (Misc queries) 1 May 1st 07 02:20 PM
Can Excel solve matrices? lipmanl Excel Discussion (Misc queries) 2 October 27th 06 03:58 PM
matrices Eiman Excel Discussion (Misc queries) 0 December 9th 05 11:01 PM
How do I multiply matrices in Excel? matrices in excel Excel Discussion (Misc queries) 2 March 5th 05 05:50 PM
transpose matrices Alan Beban[_3_] Excel Programming 1 August 1st 03 06:59 PM


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