Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How can you update an array formula using VBA?

I have an excel application with two workbooks. I have written a VBA macro
in workbook 1 that includes a .open command to open workbook 2. Workbook 2
successfully opens, however, none of the array formulas residing in workbook
2 are updated (they all seem to default to a zero value). I have tried
changing the screenupdating and calculation properties. Any suggestions?
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How can you update an array formula using VBA?

Bernie,

Yes, I tried both Application.Calculate and Application.CalculateFull. When
I use .Calculate, all array formulas default to 0. I have to maually go into
the workbook, select the desired cell, and place the cursor in the formula
box before the array formula will update. Using .CalculateFull caused
similar results except all worksheets seemed to default to the array formula
values of worksheet 1 (I have several worksheets that conatin array formulas).

~Ashleigh

"Bernie Deitrick" wrote:

Ashleigh,

Have you tried forcing a calc?

Application.CalculateFull

HTH,
Bernie
MS Excel MVP


"Ashleigh Gardner" <Ashleigh wrote in
message ...
I have an excel application with two workbooks. I have written a VBA

macro
in workbook 1 that includes a .open command to open workbook 2. Workbook

2
successfully opens, however, none of the array formulas residing in

workbook
2 are updated (they all seem to default to a zero value). I have tried
changing the screenupdating and calculation properties. Any suggestions?




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
Array formula: how to join 2 ranges together to form one array? Rich_84 Excel Worksheet Functions 2 April 1st 09 06:38 PM
Find specific value in array of array formula DzednConfsd Excel Worksheet Functions 2 January 13th 09 06:19 AM
Array functions that I wan to update only on command Lii Hadin[_2_] Excel Worksheet Functions 2 July 16th 07 02:04 PM
can an array update only once? jmomorrison Excel Worksheet Functions 3 November 22nd 06 09:05 PM
Update Master records -- Array question? Stuart[_5_] Excel Programming 0 October 4th 03 07:26 AM


All times are GMT +1. The time now is 12:10 AM.

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"