Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Worksheet Update

Status
Not open for further replies.

jumbo1979

Technical User
Aug 30, 2006
11
US
I have:

Private Sub Worksheet_Change(ByVal Target As Range) code in this worksheet so that the code runs everytime the data refreshes, however the data is all formulas linked to another worksht. So even though the data values are changing - the actual data is NOT changing so the Change code never runs. Is there a way around this?
 
jumbo1979,
This is a stab in the dark, [tt]Worksheet_Calculate()[/tt]?

CMP

[small]For the best results do what I'm thinking, not what I'm saying.[/small]
(GMT-07:00) Mountain Time (US & Canada)
 
Instead of the worksheet change event (this only fires on your workbook if the user changes a value in the cells), use the Update Links.

Create a toolbar button and create code that looks something like this:

Code:
ActiveWorkbook.UpdateLink "C:\MyLinkedWB.xls", xlExcelLinks

I hope this helps

Ron Repp

If gray hair is a sign of wisdom, then I'm a genius.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top