Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
DEE DEE is offline
external usenet poster
 
Posts: 250
Default **Urgent help Needed** Run time error 9

Hello, I need help. I created a excel workbook with two sheets. Sheet 1
(AssessmentChart) contains a Pivot chart. Sheet 2 conatins a detail report
(DetailReport) with autofilter on. Workbook saved using Excel 97 - 2003
compatability format. Data from connection to SQL Server. I have users of
Excel 2003 & 2007. I'm using Chart events to allow me to click on bars in
chart to make detail report active and filter it based on the bar that is
clicked. This work perfectly for my Excel 2007 users. When my users of
Excel 2003 click on a bar they get a Run time Error 9 on the following
statement in vba code.

ActiveSheet.ListObjects("Table_CRPRDNMSQXXX_Mytabl e_DB001_data_vwDetailRptData").Range. _
AutoFilter Field:=29, Criteria1:=strHoldPassWatchFail

strHoldPassWatchFail (data series ) is a global variable that I use to
filter the data in my detail report.
Table_CRPRDNMSQXXX_Mytable_DB001_data_vwDetailRptD ata is SQL server data
source for detail report. Please help not sure what is going on, why my
Excel 2003 users are getting error.



--
DC
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default **Urgent help Needed** Run time error 9

Runtime error 9 usually means that the worksheet that you are referencing
does not exist, check your names carefully for typing errors or spaces etc.

Regards,
The Code Cage Team
www.thecodecage.com/forumz

"Dee" wrote:

Hello, I need help. I created a excel workbook with two sheets. Sheet 1
(AssessmentChart) contains a Pivot chart. Sheet 2 conatins a detail report
(DetailReport) with autofilter on. Workbook saved using Excel 97 - 2003
compatability format. Data from connection to SQL Server. I have users of
Excel 2003 & 2007. I'm using Chart events to allow me to click on bars in
chart to make detail report active and filter it based on the bar that is
clicked. This work perfectly for my Excel 2007 users. When my users of
Excel 2003 click on a bar they get a Run time Error 9 on the following
statement in vba code.

ActiveSheet.ListObjects("Table_CRPRDNMSQXXX_Mytabl e_DB001_data_vwDetailRptData").Range. _
AutoFilter Field:=29, Criteria1:=strHoldPassWatchFail

strHoldPassWatchFail (data series ) is a global variable that I use to
filter the data in my detail report.
Table_CRPRDNMSQXXX_Mytable_DB001_data_vwDetailRptD ata is SQL server data
source for detail report. Please help not sure what is going on, why my
Excel 2003 users are getting error.



--
DC

  #3   Report Post  
Posted to microsoft.public.excel.programming
DEE DEE is offline
external usenet poster
 
Posts: 250
Default **Urgent help Needed** Run time error 9

thanks for reply Code Cage Team, I check names everything checks out. I
have 30 columns in detail report. three are hidden. could this be causing a
out of range condition when I try filtering on column 29?
--
DC


"The Code Cage Team" wrote:

Runtime error 9 usually means that the worksheet that you are referencing
does not exist, check your names carefully for typing errors or spaces etc.

Regards,
The Code Cage Team
www.thecodecage.com/forumz

"Dee" wrote:

Hello, I need help. I created a excel workbook with two sheets. Sheet 1
(AssessmentChart) contains a Pivot chart. Sheet 2 conatins a detail report
(DetailReport) with autofilter on. Workbook saved using Excel 97 - 2003
compatability format. Data from connection to SQL Server. I have users of
Excel 2003 & 2007. I'm using Chart events to allow me to click on bars in
chart to make detail report active and filter it based on the bar that is
clicked. This work perfectly for my Excel 2007 users. When my users of
Excel 2003 click on a bar they get a Run time Error 9 on the following
statement in vba code.

ActiveSheet.ListObjects("Table_CRPRDNMSQXXX_Mytabl e_DB001_data_vwDetailRptData").Range. _
AutoFilter Field:=29, Criteria1:=strHoldPassWatchFail

strHoldPassWatchFail (data series ) is a global variable that I use to
filter the data in my detail report.
Table_CRPRDNMSQXXX_Mytable_DB001_data_vwDetailRptD ata is SQL server data
source for detail report. Please help not sure what is going on, why my
Excel 2003 users are getting error.



--
DC

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default **Urgent help Needed** Run time error 9

There appears to be only two things that it would not find. One is the
ActiveSheet and I think we can eliminate that one as a problem. The other is
your detail report data. If it has not been added to the ListObjects
collection, that could be the problem. But I am only guessing. Somehow it
is not making the connection to the object references in that statement.

"Dee" wrote:

thanks for reply Code Cage Team, I check names everything checks out. I
have 30 columns in detail report. three are hidden. could this be causing a
out of range condition when I try filtering on column 29?
--
DC


"The Code Cage Team" wrote:

Runtime error 9 usually means that the worksheet that you are referencing
does not exist, check your names carefully for typing errors or spaces etc.

Regards,
The Code Cage Team
www.thecodecage.com/forumz

"Dee" wrote:

Hello, I need help. I created a excel workbook with two sheets. Sheet 1
(AssessmentChart) contains a Pivot chart. Sheet 2 conatins a detail report
(DetailReport) with autofilter on. Workbook saved using Excel 97 - 2003
compatability format. Data from connection to SQL Server. I have users of
Excel 2003 & 2007. I'm using Chart events to allow me to click on bars in
chart to make detail report active and filter it based on the bar that is
clicked. This work perfectly for my Excel 2007 users. When my users of
Excel 2003 click on a bar they get a Run time Error 9 on the following
statement in vba code.

ActiveSheet.ListObjects("Table_CRPRDNMSQXXX_Mytabl e_DB001_data_vwDetailRptData").Range. _
AutoFilter Field:=29, Criteria1:=strHoldPassWatchFail

strHoldPassWatchFail (data series ) is a global variable that I use to
filter the data in my detail report.
Table_CRPRDNMSQXXX_Mytable_DB001_data_vwDetailRptD ata is SQL server data
source for detail report. Please help not sure what is going on, why my
Excel 2003 users are getting error.



--
DC

  #5   Report Post  
Posted to microsoft.public.excel.programming
DEE DEE is offline
external usenet poster
 
Posts: 250
Default **Urgent help Needed** Run time error 9

OK, I will check detail sheet. I still don't understand why Excel 2007
does not an issue.

--
DC


"JLGWhiz" wrote:

There appears to be only two things that it would not find. One is the
ActiveSheet and I think we can eliminate that one as a problem. The other is
your detail report data. If it has not been added to the ListObjects
collection, that could be the problem. But I am only guessing. Somehow it
is not making the connection to the object references in that statement.

"Dee" wrote:

thanks for reply Code Cage Team, I check names everything checks out. I
have 30 columns in detail report. three are hidden. could this be causing a
out of range condition when I try filtering on column 29?
--
DC


"The Code Cage Team" wrote:

Runtime error 9 usually means that the worksheet that you are referencing
does not exist, check your names carefully for typing errors or spaces etc.

Regards,
The Code Cage Team
www.thecodecage.com/forumz

"Dee" wrote:

Hello, I need help. I created a excel workbook with two sheets. Sheet 1
(AssessmentChart) contains a Pivot chart. Sheet 2 conatins a detail report
(DetailReport) with autofilter on. Workbook saved using Excel 97 - 2003
compatability format. Data from connection to SQL Server. I have users of
Excel 2003 & 2007. I'm using Chart events to allow me to click on bars in
chart to make detail report active and filter it based on the bar that is
clicked. This work perfectly for my Excel 2007 users. When my users of
Excel 2003 click on a bar they get a Run time Error 9 on the following
statement in vba code.

ActiveSheet.ListObjects("Table_CRPRDNMSQXXX_Mytabl e_DB001_data_vwDetailRptData").Range. _
AutoFilter Field:=29, Criteria1:=strHoldPassWatchFail

strHoldPassWatchFail (data series ) is a global variable that I use to
filter the data in my detail report.
Table_CRPRDNMSQXXX_Mytable_DB001_data_vwDetailRptD ata is SQL server data
source for detail report. Please help not sure what is going on, why my
Excel 2003 users are getting error.



--
DC



  #6   Report Post  
Posted to microsoft.public.excel.programming
DEE DEE is offline
external usenet poster
 
Posts: 250
Default **Urgent help Needed** Run time error 9

Could this be a data connection issue?
--
DC


"Dee" wrote:

OK, I will check detail sheet. I still don't understand why Excel 2007
does not an issue.

--
DC


"JLGWhiz" wrote:

There appears to be only two things that it would not find. One is the
ActiveSheet and I think we can eliminate that one as a problem. The other is
your detail report data. If it has not been added to the ListObjects
collection, that could be the problem. But I am only guessing. Somehow it
is not making the connection to the object references in that statement.

"Dee" wrote:

thanks for reply Code Cage Team, I check names everything checks out. I
have 30 columns in detail report. three are hidden. could this be causing a
out of range condition when I try filtering on column 29?
--
DC


"The Code Cage Team" wrote:

Runtime error 9 usually means that the worksheet that you are referencing
does not exist, check your names carefully for typing errors or spaces etc.

Regards,
The Code Cage Team
www.thecodecage.com/forumz

"Dee" wrote:

Hello, I need help. I created a excel workbook with two sheets. Sheet 1
(AssessmentChart) contains a Pivot chart. Sheet 2 conatins a detail report
(DetailReport) with autofilter on. Workbook saved using Excel 97 - 2003
compatability format. Data from connection to SQL Server. I have users of
Excel 2003 & 2007. I'm using Chart events to allow me to click on bars in
chart to make detail report active and filter it based on the bar that is
clicked. This work perfectly for my Excel 2007 users. When my users of
Excel 2003 click on a bar they get a Run time Error 9 on the following
statement in vba code.

ActiveSheet.ListObjects("Table_CRPRDNMSQXXX_Mytabl e_DB001_data_vwDetailRptData").Range. _
AutoFilter Field:=29, Criteria1:=strHoldPassWatchFail

strHoldPassWatchFail (data series ) is a global variable that I use to
filter the data in my detail report.
Table_CRPRDNMSQXXX_Mytable_DB001_data_vwDetailRptD ata is SQL server data
source for detail report. Please help not sure what is going on, why my
Excel 2003 users are getting error.



--
DC

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
Run-time error '1004' . Please help. Urgent BEETAL Excel Programming 4 September 8th 08 08:12 AM
Urgent!!! Run-time error '-2147024770 (8007007e)' Automation error [email protected] Excel Programming 3 May 28th 08 04:51 AM
Urgent - running time error type mismatch keith Excel Programming 1 October 24th 07 12:58 PM
Run Time Automation Error - Help Needed Mark Campbell Excel Programming 5 October 5th 06 08:35 PM
Automation Error ... Urgent help needed Alexander.Kom Excel Programming 0 July 14th 05 10:58 AM


All times are GMT +1. The time now is 02:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"