PC Review


Reply
 
 
Alectrical
Guest
Posts: n/a
 
      31st Dec 2009
Hi
When I was working with Excel 2003, the following code worked, where two DDE
links in B1 and B2 changed value every second and the new values were updated
in columns C and D, where each value was incremented to produce a range of
values suitable for charting.

After upgrading to Excel 2007, the graph stopped working and I keep getting
the following error message:-

"A formula in this worksheet contains one or more invalid references. Verify
that your formulas contain a valid path, workbook, range name, and cell
reference."

Private Sub Worksheet_Calculate()
On Error Resume Next
Cells(Rows.Count, 3).End(x1Up).Offset(1, 0) = Range("B1") 'Box Temp
Cells(Rows.Count, 3).End(xlUp).Offset(1, 1) = Range("B2") 'Reference Temp
End Sub

Thanks in Advance
Alec

 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      31st Dec 2009
Could be as simple as 1 <>L

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Alectrical" <(E-Mail Removed)> wrote in message
news:9A6DD740-8CA1-463E-AE05-(E-Mail Removed)...
> Hi
> When I was working with Excel 2003, the following code worked, where two
> DDE
> links in B1 and B2 changed value every second and the new values were
> updated
> in columns C and D, where each value was incremented to produce a range of
> values suitable for charting.
>
> After upgrading to Excel 2007, the graph stopped working and I keep
> getting
> the following error message:-
>
> "A formula in this worksheet contains one or more invalid references.
> Verify
> that your formulas contain a valid path, workbook, range name, and cell
> reference."
>
> Private Sub Worksheet_Calculate()
> On Error Resume Next
> Cells(Rows.Count, 3).End(x1Up).Offset(1, 0) = Range("B1") 'Box Temp
> Cells(Rows.Count, 3).End(xlUp).Offset(1, 1) = Range("B2") 'Reference Temp
> End Sub
>
> Thanks in Advance
> Alec
>


 
Reply With Quote
 
Alectrical
Guest
Posts: n/a
 
      2nd Jan 2010
Thanks for your reply Don, but I don't understand your explanation, could you
explain it further.

Thanks Again
Alec

"Don Guillett" wrote:

> Could be as simple as 1 <>L
>
> --
> Don Guillett
> Microsoft MVP Excel
> SalesAid Software
> (E-Mail Removed)
> "Alectrical" <(E-Mail Removed)> wrote in message
> news:9A6DD740-8CA1-463E-AE05-(E-Mail Removed)...
> > Hi
> > When I was working with Excel 2003, the following code worked, where two
> > DDE
> > links in B1 and B2 changed value every second and the new values were
> > updated
> > in columns C and D, where each value was incremented to produce a range of
> > values suitable for charting.
> >
> > After upgrading to Excel 2007, the graph stopped working and I keep
> > getting
> > the following error message:-
> >
> > "A formula in this worksheet contains one or more invalid references.
> > Verify
> > that your formulas contain a valid path, workbook, range name, and cell
> > reference."
> >
> > Private Sub Worksheet_Calculate()
> > On Error Resume Next
> > Cells(Rows.Count, 3).End(x1Up).Offset(1, 0) = Range("B1") 'Box Temp
> > Cells(Rows.Count, 3).End(xlUp).Offset(1, 1) = Range("B2") 'Reference Temp
> > End Sub
> >
> > Thanks in Advance
> > Alec
> >

>
> .
>

 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      3rd Jan 2010
End(x1Up).

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Alectrical" <(E-Mail Removed)> wrote in message
news:CD5BD6A1-386B-412E-AA99-(E-Mail Removed)...
> Thanks for your reply Don, but I don't understand your explanation, could
> you
> explain it further.
>
> Thanks Again
> Alec
>
> "Don Guillett" wrote:
>
>> Could be as simple as 1 <>L
>>
>> --
>> Don Guillett
>> Microsoft MVP Excel
>> SalesAid Software
>> (E-Mail Removed)
>> "Alectrical" <(E-Mail Removed)> wrote in message
>> news:9A6DD740-8CA1-463E-AE05-(E-Mail Removed)...
>> > Hi
>> > When I was working with Excel 2003, the following code worked, where
>> > two
>> > DDE
>> > links in B1 and B2 changed value every second and the new values were
>> > updated
>> > in columns C and D, where each value was incremented to produce a range
>> > of
>> > values suitable for charting.
>> >
>> > After upgrading to Excel 2007, the graph stopped working and I keep
>> > getting
>> > the following error message:-
>> >
>> > "A formula in this worksheet contains one or more invalid references.
>> > Verify
>> > that your formulas contain a valid path, workbook, range name, and cell
>> > reference."
>> >
>> > Private Sub Worksheet_Calculate()
>> > On Error Resume Next
>> > Cells(Rows.Count, 3).End(x1Up).Offset(1, 0) = Range("B1") 'Box Temp
>> > Cells(Rows.Count, 3).End(xlUp).Offset(1, 1) = Range("B2") 'Reference
>> > Temp
>> > End Sub
>> >
>> > Thanks in Advance
>> > Alec
>> >

>>
>> .
>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
update outlook 2007 from access 2007 database fws Microsoft Access External Data 0 21st May 2010 05:53 PM
PPT 2007 links to Excel 2007 - how to stop update links at startup?the second try CordHinrichs Microsoft Powerpoint 14 17th Jul 2009 06:40 PM
Update Access 2007 Table Using Excel 2007 VBA Sairam Microsoft Excel Programming 0 14th Nov 2008 07:59 PM
Outlook 2007 with Exchange 2007, frequent have to goto send/receive.. update this folder to update (cached exchange mode).. markm75 Microsoft Outlook Discussion 0 18th Oct 2007 07:01 PM
Access 2007 update queries does not update table in SQL Server 200 =?Utf-8?B?S2h1emVtYQ==?= Microsoft Access Forms 1 3rd Jul 2007 04:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:49 PM.