LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Ref. problem after sheet import


son wrote:

Nope, as I said: re-writing the formulae in a sheet (or replacing = with =,
which is the same thing, basically) is the fallback solution that always seem
to do the trick.

However, it would obviously be nicer to always be able to rely on one of the
Calculate/CalculateFull/UpdateLinks/... methods (and F9 key-combinations),
but those seem to not always kick off the recalculations you'd expect (or,
rather: I'm not always clever enough to figure out exactly why they do not
force the recalculations I'd expect... :o)

So, if anyone out there has a fool-proof way of determining under exactly
which conditions each one of the calculation methods mentioned above will
fire off their respective recalculations (and when not!) then I'd be very
happy to learn about this...

Cheers,
/MP

"Dave Peterson" wrote:

Changing = to = has never failed to update the formulas for me.

Has it failed for you?

Mat P:son wrote:

Or maybe pratice some good ol' Voodoo... Black candles, chicken heads and all
that... :o)

Fact is, I've been forced to re-write cell formulae myself a few times in
the past. It's ugly, but when nothing else works and you really can't afford
to spend more time on making things work, then re-writing will definitely do
the trick...

But by all means, keep on serching for a proper solution though -- The truth
is out there! :o)

Cheers,
/MP

"Dave Peterson" wrote:

Maybe you could group all the sheets and then
edit|Replace
what: = (equal sign)
with: =
replace all

and ungroup the sheets

Excel will see that you're reentering each formula and reevaluate it. Maybe
it'll be a one time thing if it wakes up excel.

Christian wrote:

The problem I am having is that after I import a Template sheet with
references
to the Master sheet the cell references are not updated.
I do this so when the master sheet is updated the same cell in the
other sheets
change to the same value.
For example:
The cell on the Imported sheet say A1 would have a reference
=Summary!$I$6
Summary is a Sheet in the workbook the sheets are imported to.
I have tried the SendKeys "{F2}~" after the code that imports the
sheet but that does not work. The only thing that works is if I select
the cell with the #Ref problem click in the formula bar and press
enter. like SendKey "{F2~}".
I don't want to go through all the cells like that as there could be
100 of them.
Is there another way to update the linked values?
Any help would be apreciated.

--

Dave Peterson


--

Dave Peterson


Thank Guys

There doesn't seem to be a profen way apart from replace = with =
To overcome this i ended up inserting the values in the imported sheet
with code as I go
and then inserted a Worksheet_Change event for the ranges that are
updated on the master sheet.
Thanks again for your input.
Much appreciated

 
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
xml import problem MatthewG Excel Discussion (Misc queries) 0 February 10th 09 06:05 PM
Import Problem Pepper New Users to Excel 2 November 21st 08 10:52 PM
Import problem µ New Users to Excel 0 April 24th 07 10:27 AM
basic txt import problem Deljo Excel Discussion (Misc queries) 1 August 3rd 06 07:23 PM
Import problem Ted Rogers New Users to Excel 9 July 14th 05 10:52 PM


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