Error 2029. How do I fix this error


"Excel VBA Help"

 


Play Friv Now - Play Friv Games
Go Back   The Code Cage Forums > Microsoft Topics > Microsoft Excel Forum
Our Info Pages:-
The Code Cage - Microsoft Office help

Notices

Microsoft Excel Forum Members Post questions in this forum if they are related to using Microsoft Excel, this includes Worksheet Functions, Excel VBA Programming, Simple Macro Code & Charting, Excel formula etc.

New Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1  
Unread 10th November 2009, 18:13
Ayo's Avatar
Ayo
Newsgroup Contributor
 
Posts: n/a
Posts Per Day: 0
My Top Tip Count:
Default Error 2029. How do I fix this error
     Excel: VBA   


------ Register to get rid of these "In Post" ads! ------

Category: Excel: VBA   

c.Offset(0, 2) = Evaluate("=SUMPRODUCT(--('BO Download'!$B$" & DIregion_sRow
& ":$B$" & BOReport_lastRow & "=" & c.Value & "),--('BO Download'!$F$" &
DIregion_sRow & ":$F$" & BOReport_lastRow & "=" & c.Offset(0, 1) & ")," & _
"--('BO Download'!$H$" & DIregion_sRow &
":$H$" & BOReport_lastRow & "=""Selected""))")

c.Offset(0, 2)=Error 2029

where:
c.Value="INDIANAPOLIS IN"
c.Offset(0, 1)="ZAYO BANDWIDTH"

The Code Cage Advertisment
Advertisement

To stop seeing these ads and get other benefits check This page!

  #2  
Unread 10th November 2009, 18:13
Jacob Skaria's Avatar
Jacob Skaria
Newsgroup Contributor
 
Posts: n/a
Posts Per Day: 0
My Top Tip Count:
Default RE: Error 2029. How do I fix this error

------ Register to get rid of these "In Post" ads! ------


Try the below..

c.Offset(0, 2).Formula = Evaluate("=SUMPRODUCT(" & _
"('BO Download'!B" & DIregion_sRow & ":B" & BOReport_lastRow & _
"=""" & c.Value & """)*" & "('BO Download'!F" & DIregion_sRow & _
":F" & BOReport_lastRow & "=""" & c.Offset(0, 1) & """)*" & _
"('BO Download'!H" & DIregion_sRow & ":H" & _
BOReport_lastRow & "=""Selected""))")

If this post helps click Yes
---------------
Jacob Skaria


"Ayo" wrote:

> c.Offset(0, 2) = Evaluate("=SUMPRODUCT(--('BO Download'!$B$" & DIregion_sRow
> & ":$B$" & BOReport_lastRow & "=" & c.Value & "),--('BO Download'!$F$" &
> DIregion_sRow & ":$F$" & BOReport_lastRow & "=" & c.Offset(0, 1) & ")," & _
> "--('BO Download'!$H$" & DIregion_sRow &
> ":$H$" & BOReport_lastRow & "=""Selected""))")
>
> c.Offset(0, 2)=Error 2029
>
> where:
> c.Value="INDIANAPOLIS IN"
> c.Offset(0, 1)="ZAYO BANDWIDTH"


  #3  
Unread 10th November 2009, 18:35
Ayo's Avatar
Ayo
Newsgroup Contributor
 
Posts: n/a
Posts Per Day: 0
My Top Tip Count:
Default RE: Error 2029. How do I fix this error

------ Register to get rid of these "In Post" ads! ------


I am having a bigger problem that that. Is there somewhere I can send the
file to you so that you can take a look at the rest of the code for me? Thanks

"Jacob Skaria" wrote:

> Try the below..
>
> c.Offset(0, 2).Formula = Evaluate("=SUMPRODUCT(" & _
> "('BO Download'!B" & DIregion_sRow & ":B" & BOReport_lastRow & _
> "=""" & c.Value & """)*" & "('BO Download'!F" & DIregion_sRow & _
> ":F" & BOReport_lastRow & "=""" & c.Offset(0, 1) & """)*" & _
> "('BO Download'!H" & DIregion_sRow & ":H" & _
> BOReport_lastRow & "=""Selected""))")
>
> If this post helps click Yes
> ---------------
> Jacob Skaria
>
>
> "Ayo" wrote:
>
> > c.Offset(0, 2) = Evaluate("=SUMPRODUCT(--('BO Download'!$B$" & DIregion_sRow
> > & ":$B$" & BOReport_lastRow & "=" & c.Value & "),--('BO Download'!$F$" &
> > DIregion_sRow & ":$F$" & BOReport_lastRow & "=" & c.Offset(0, 1) & ")," & _
> > "--('BO Download'!$H$" & DIregion_sRow &
> > ":$H$" & BOReport_lastRow & "=""Selected""))")
> >
> > c.Offset(0, 2)=Error 2029
> >
> > where:
> > c.Value="INDIANAPOLIS IN"
> > c.Offset(0, 1)="ZAYO BANDWIDTH"


The Code Cage Advertisment
Advertisement
  #4  
Unread 10th November 2009, 18:49
Rick Rothstein's Avatar
Rick Rothstein
Newsgroup Contributor
 
Posts: n/a
Posts Per Day: 0
My Top Tip Count:
Default Re: Error 2029. How do I fix this error

------ Register to get rid of these "In Post" ads! ------


You can post it online using one of these free posting websites...

http://www.mediafire.com/
http://www.freefilehosting.net/
http://savefile.com/

--
Rick (MVP - Excel)


"Ayo" <Ayo@discussions.microsoft.com> wrote in message
news:269FED0A-2BAF-4034-A95C-8DD872375BEC@microsoft.com...
>I am having a bigger problem that that. Is there somewhere I can send the
> file to you so that you can take a look at the rest of the code for me?
> Thanks
>
> "Jacob Skaria" wrote:
>
>> Try the below..
>>
>> c.Offset(0, 2).Formula = Evaluate("=SUMPRODUCT(" & _
>> "('BO Download'!B" & DIregion_sRow & ":B" & BOReport_lastRow & _
>> "=""" & c.Value & """)*" & "('BO Download'!F" & DIregion_sRow & _
>> ":F" & BOReport_lastRow & "=""" & c.Offset(0, 1) & """)*" & _
>> "('BO Download'!H" & DIregion_sRow & ":H" & _
>> BOReport_lastRow & "=""Selected""))")
>>
>> If this post helps click Yes
>> ---------------
>> Jacob Skaria
>>
>>
>> "Ayo" wrote:
>>
>> > c.Offset(0, 2) = Evaluate("=SUMPRODUCT(--('BO Download'!$B$" &
>> > DIregion_sRow
>> > & ":$B$" & BOReport_lastRow & "=" & c.Value & "),--('BO Download'!$F$"
>> > &
>> > DIregion_sRow & ":$F$" & BOReport_lastRow & "=" & c.Offset(0, 1) & "),"
>> > & _
>> > "--('BO Download'!$H$" &
>> > DIregion_sRow &
>> > ":$H$" & BOReport_lastRow & "=""Selected""))")
>> >
>> > c.Offset(0, 2)=Error 2029
>> >
>> > where:
>> > c.Value="INDIANAPOLIS IN"
>> > c.Offset(0, 1)="ZAYO BANDWIDTH"



  #5  
Unread 10th November 2009, 18:49
Jacob Skaria's Avatar
Jacob Skaria
Newsgroup Contributor
 
Posts: n/a
Posts Per Day: 0
My Top Tip Count:
Default RE: Error 2029. How do I fix this error

------ Register to get rid of these "In Post" ads! ------


I have tried the below formula and it works for me.

OR else try your original formula with slight changes...Please note the
change in double quotes in my formula...


"Ayo" wrote:

> I am having a bigger problem that that. Is there somewhere I can send the
> file to you so that you can take a look at the rest of the code for me? Thanks
>
> "Jacob Skaria" wrote:
>
> > Try the below..
> >
> > c.Offset(0, 2).Formula = Evaluate("=SUMPRODUCT(" & _
> > "('BO Download'!B" & DIregion_sRow & ":B" & BOReport_lastRow & _
> > "=""" & c.Value & """)*" & "('BO Download'!F" & DIregion_sRow & _
> > ":F" & BOReport_lastRow & "=""" & c.Offset(0, 1) & """)*" & _
> > "('BO Download'!H" & DIregion_sRow & ":H" & _
> > BOReport_lastRow & "=""Selected""))")
> >
> > If this post helps click Yes
> > ---------------
> > Jacob Skaria
> >
> >
> > "Ayo" wrote:
> >
> > > c.Offset(0, 2) = Evaluate("=SUMPRODUCT(--('BO Download'!$B$" & DIregion_sRow
> > > & ":$B$" & BOReport_lastRow & "=" & c.Value & "),--('BO Download'!$F$" &
> > > DIregion_sRow & ":$F$" & BOReport_lastRow & "=" & c.Offset(0, 1) & ")," & _
> > > "--('BO Download'!$H$" & DIregion_sRow &
> > > ":$H$" & BOReport_lastRow & "=""Selected""))")
> > >
> > > c.Offset(0, 2)=Error 2029
> > >
> > > where:
> > > c.Value="INDIANAPOLIS IN"
> > > c.Offset(0, 1)="ZAYO BANDWIDTH"


The Code Cage Advertisment
Advertisement
New Reply
The Code Cage at Facebookhe Code Cage at Twitter


Tags
2029, error, fix

Thread Tools
Display Modes 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

Forum Jump

The Code Cage Affilliates



http://www.thecodecage.com/forumz tested by McAfee Security http://www.thecodecage.com/forumz tested by McAfee Security

All times are GMT +1. The time now is 08:03.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Template-Modifications by TMS
No part of this board, functionality or creatives may be copied or reproduced either in part or full without the express permission of The Code Cage Team.
Copyright ©2008 - , Simon lloyd.
We are not associated with nor employed by Microsoft in any way, we simply provide resources!
All MS office icons are registered trademarks of the application they represent and are used with permission from Microsoft
UA-8135493-1
Cultural Forum | Study at Malaysian University