Runtime Error '9", "Subscript out of Range"
This is the line that comes up on debug:
Set WsMonth = Workbooks("Safety Observation Tracker.xls").Sheets("Jan"
I'm not a code guru, I have no clue where or why or if this ever worked.
Any Help would be greatly appreciated.
BJN
Cut off the end
Set WsMonth = Workbooks("Safety Observation Tracker.xls").Sheets("Jan")
This is the line that comes up on debug:
Set WsMonth = Workbooks("Safety Observation Tracker.xls").Sheets("Jan"
I'm not a code guru, I have no clue where or why or if this ever worked.
Any Help would be greatly appreciated.
BJN
Cut off the end
Set WsMonth = Workbooks("Safety Observation Tracker.xls").Sheets("Jan")
It basically means that you either dont have the workbook "Safety Observation Tracker.xls" open, you have the wrong workbook name, or worksheet "Jan" doesn't exist or mispelled. Check for spaces in name
Similar Messages
-
Run tme Error 9: Subscript out of range
Hi Folks,
When ever i am trying to execute the report from favourites folder in BW 3.5 version it's giving the runtime error 9: Subscript out of range error.when i click on debug option it enters into Visual basic code.
Please help to me how to over come this situation.
Thanks for your help
Regards,
NagHello Nag,
We created a Wiki with all informations to troubleshoot this issue.
Please, check the link below:
> http://wiki.sdn.sap.com/wiki/display/BI/RRMX
Also, I strongly recommend you to update your front end tools to latest patch available:
http://service.sap.com/swdc
> Support Packages and Patches
> Browse our Download Catalog
> SAP Frontend Components
> SAP GUI FOR WINDOWS
> SAP GUI FOR WINDOWS 7.20 CORE
> Win32
_ > * gui720_10_2-10007878.exe
| > BI ADDON FOR SAP GUI
| > BI 7.0 ADDON FOR SAP GUI 7.20
|_ > * bi720sp06_600-20006596.exe
|
| > BI ADDON FOR SAP GUI
| > BW 3.5 ADDON FOR SAP GUI 7.20
| > Win32
|_ > * bw350gui720_8-20006857.exe
Best Regards,
Edward John
SDN Moderator -
BIP Desktop Install Problem: Run-time error '9' Subscript out of range
Hi All,
I am trying to get my BIP Desktop to work. I have notice previous threads regarding the internet explorer security patches affecting BIP Desktop and my problem is similar. Here is my problem:
1. I installed BIP Desktop 5.7.146.
2. I start Template Builder for Word Language by selecting Start>Programs>Oracle BI Publisher Desktop.
3. A dialog box prompts for UI Language and I select English
In the midst of the Template Builder for Word Language attempting to initiate/change the user interface language to English, it throws the following error:
Run-time error '9' Subscript out of range
Here are some details regarding my PC:
XP sp2, MSXML6, jre1.5.0_15
Also, my CPU performance hits it maximum while I am doing this
Any thoughts on how to correct this?
Thanks,
PatrickPatrick,
Were you able to find a solution to this problem?
One of my colleagues is having the same issue.
Regards,
Srini -
Run-time error '9': subscript out of range when starting Multisim/Utilboard v10
Hi all!
After having installed and registred NI Circuit Design Suite 10 (Single user licenses) on
XP-SP2 and Windows2000-SP4 computer, I get the following error message when
I try to start either Multisim10 or Utilboard10 (Full edition versions)
"Run-time error '9':
Subscript out of range
The problem appears both with standard users as well as with the Administrator user.
As I click on "OK", the program proceeds as usual and seems (?) to work fine.
The problem does not appear if I do not register the copy of NI Circuit Design Suite 10
and I run it as evaluation instead.
Paolo Celani
Attachments:
error.jpg 29 KBHi !
We have german version of Window XP and 2000 (the folder where Multisim was installed is C:\Programme\ etc etc).
The very same dialog box appears written in german (see attachment) in one of our computers, maybe because
German was chosen as Standard language in Multisim during settings (I do not quite remember but I can find out).
Thanks for helping me !
Best regards
Paolo Celani
Attachments:
error_de.JPG 33 KB -
Run-time error 9 subscript out of range in WAD open
Hi All,
When i open the WAD, I am getting the following error msg
Run-time error 9
Subscript out of range
and it is killing the logon and screen.
It is not happening to all the WAD, only for few of them,
please give me the tips.
Thanks
BillyThanks for the answer.
I resolved it by replacing librfc.dll. There is a sap note to explain this issue.
the reason for the problem is..
If the web template has a bigger one then this problem is occurs.
Thanks
Billy -
Error in RunLogicAgainstSelection:Subscript out of range
Dear experts,
I'm writing a cross application *RUNALLOCATION from application InvCost.
While validating the logic I ot this error saying
"error in RunLogicAgainstSelection: Subscript out of range" and here's the code
*RUNALLOCATION
*FACTOR=1/TOTAL
*APP WHAT=FINANCE; WHERE=INVCOST; TOTAL=<<<
*DIM TIME WHAT=%TIME_SET%; WHERE=<<<; TOTAL=<<<
*DIM DATASRC WHAT=TEMP; WHERE=INPUT; TOTAL=INPUT
*DIM LOB WHAT=00000; WHERE=; TOTAL=
*DIM COSTCENTER WHAT=122; WHERE=; TOTAL=
*DIM MACCT WHAT=5601; WHERE=; TOTAL=
*DIM FACTORY WHAT=0000F; WHERE=[L_f]="7"; TOTAL=EACH([L_f]="7")
*DIM INTFAC WHAT=; WHERE=NONINTFAC; TOTAL=EACH(BASE(ALLINTFAC))
*DIM INVACCT WHAT=; WHERE=FUC_L; TOTAL=FFACTOR
*DIM PARNO WHAT=; WHERE=NONPARTNO; TOTAL=EACH([INVTYPE]="L")
*DIM SACCT WHAT=00; WHERE=; TOTAL=
*DIM CATEGORY WHAT=ACTUAL; WHERE=<<<; TOTAL=<<<
*DIM RPTCURRENCY WHAT=LC; WHERE=<<<; TOTAL=<<<
*ENDALLOCATION
From WHAT there's only one value and devid by TOTAL then put into all base members of WHERE.
Factory part is a little tricky cause I'm not sure if it'll give me only base members for the given condition.
Any helpful comments are welcome. Thanks a million...
,Jim HsuHi Jim,
I think you need to use the "USING" clause, as in this simple example. This is where you define the allocation driver.
*RUN_ALLOCATION
*FACTOR USING/TOTAL
*DIM Product What=NoProduct; Where=[ProductLevel]="5"; USING=<<<; TOTAL=<<<
*DIM Account What=MarketingExpense; Where=<<<; Using=Revenue; Total=<<<
*ENDALLOCATION -
Submit:Validating members::Subscript Out of Range Error
Hi,
When I enter data in an Input Schedule and click "Send and Refresh Schedule" button, I receive an error message.
Submitted Records : 4
Accepted Records : 0
Rejected Records : 0
Submit:Validating members::Subscript out of Range Submit:Validating members::Subscript out of Range Submit:Validating members::Subscript out of Range Submit:Validating members::Subscript out of Range
"Then the list of records not sent."
No records are sent to the database.
Why does this error occur?Hi Karthik, Just wondering if there are too many digits(i mean too many decimals in the numbers) in the sheet.
regards
shyam -
Error merging WHAT with WHERE:Subscript out of range
I'm trying to run allocation script to post data from one App to another but get the error:
error merging WHAT with WHERE:Subscript out of range.
*RUNALLOCATION
*FACTOR 1
*DIM APP WHAT=PNL; WHERE=OPEX;
*DIM CATEGORY WHAT=BUDGET; WHERE=<<<;
*DIM ACCOUNT WHAT=80855.0000.ECOMM;
*DIM ACCT_OPEX WHERE=80855.0000;
*DIM ENTITY WHAT=100.00001;
*DIM COSTCTR WHERE=00001;
*DIM BRAND WHERE=100;
*DIM CHANNEL WHERE=ECOM;
*ENDALLOCATIONHi Agnes,
Please try the below:
*RUNALLOCATION
*FACTOR 1
*DIM APP WHAT=PNL; WHERE=OPEX;
*DIM CATEGORY WHAT=BUDGET; WHERE=<<<;
*DIM ACCOUNT WHAT=80855.0000.ECOMM; WHERE=<<<;
*DIM ACCT_OPEX WHAT=>>>; WHERE=80855.0000;
*DIM ENTITY WHAT=100.00001; WHERE=<<<;
*DIM COSTCTR WHAT=>>>; WHERE=00001;
*DIM BRAND WHAT=>>>; WHERE=100;
*DIM CHANNEL WHAT=>>>; WHERE=ECOM;
*ENDALLOCATION
The idea is to have have both the keywords in the statement - WHAT and WHERE
Hope this helps. -
With ActiveWorkbook.Connections(Connection).OLEDBConnection ' This statement is giving me a script out of range error
' when used inside
the function shown below.
Sub getData(qArray() As String, Connection As String, ActSheet As String)
'Updates the data from the Database. qArray is the SQL query in an array, connection defines which connection to use and ActSheet defines in which sheet to place the data
Sheets(ActSheet).Select
Range("A1").Select
With ActiveWorkbook.Connections(Connection).OLEDBConnection
.CommandText = qArray
.BackgroundQuery = False ' Hvis true opdateres ikke før script er kørt færdig
.CommandType = xlCmdSql
.Connection = "OLEDB;Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=RDWEB;Data Source=dk0149sql.niladv.org;"
.RefreshOnFileOpen = False
.SavePassword = False
.SourceConnectionFile = ""
.SourceDataFile = ""
.ServerCredentialsMethod = xlCredentialsMethodIntegrated
.AlwaysUseConnectionFile = False
End With
ActiveWorkbook.Connections(Connection).Refresh
End Sub
I am getting a subscript out of range when I use the above statement inside the getData function shown below.
The data is getting into the qArray as seen the Locals Window after it errors
How do I eliminate this error?It seems that Connection has some bad value. Have you investigated what that may be?
The code looks puzzling to me - it never seems to be running the query. Then again, this is a forum for SQL Server, and not for programming Excel. And it's probably in a forum of the latter type should have posted your question.
Erland Sommarskog, SQL Server MVP, [email protected] -
I read a file into a 2 dimensional vector named matrix and I want to check the frequency of the item inside the matrix, but when debugging it gives me the error message: vector subscript out of range. Can someone help?
#include <assert.h>
#include <string>
#include <map>
#include <sstream>
#include <vector>
#include <fstream>
#include <iostream>
#include "main_loadDB.h"
using namespace std;
typedef map<string, int> attri_value;
void buildFirstItemset(matrix_file m){
matrix_file temp=m;
int lmc=temp[0].size();
int lmr=temp.size();
int msize=lmc*lmr;
attri_value attri_map;
for (int i=0;i<lmr;i++){
cout<<"i:"<<i<<" ";
for(int j=0;j<lmc;j++){
string tm=temp[i][j];
++attri_map[tm];
// here is the error
cout<<endl;
#endif
Any help appreciated!Hi DBM_Q,
Since this issue is related to the VC++, to help you resolve this issue as soon as possible, I suggest you post this issue to the VC++ Forum for dedicated support:
http://social.msdn.microsoft.com/Forums/en-US/home?forum=vcgeneral
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
hi
thisis the script i am using to allocate gross invoice percentage for month and total them
to show in another row
*SELECT (%ENTITY%, "[ID]", "ENTITY", "[ID]='%ENTITY_SET%'")
*XDIM_MEMBERSET CATEGORY=ACT
*XDIM_MEMBERSET RPTCURRENCY1=LC
*XDIM_MEMBERSET DATASRC=TOTAL
//*XDIM_MEMBERSET TIME=2010.INP
*RUNALLOCATION
*NAME=GISALESALLOCPLN%
*FACTOR=USING/TOTAL
*DIM APP WHAT=PLANNING;WHERE=PLANNING;USING=PLANNING;TOTAL=PLANNING
*DIM ACCOUNTP WHAT=%GISALES%;WHERE=%GISALES%;USING=%GISALES%;TOTAL=%GISALES%
*DIM ENTITY WHAT=%ENTITY%;WHERE=%ENTITY%;USING=%ENTITY%;TOTAL=%ENTITY%
*DIM TIME WHAT=2010.INP;WHERE=2010.INP;USING=2010.INP;TOTAL=2010.INP
*DIM CATEGORY WHAT=ACT;WHERE=ACT;USING=ACT;TOTAL=ACT
*DIM RPTCURRENCY1 WHAT=LC;WHERE=LC;USING=LC;TOTAL=LC
*ENDALLOCATION
and it error outs saying
"error in range selection: subscription out of range"
while i debug
please advice
thanksIf you are selecting multiple entities, please use
*SELECT (%ENTITY%, "ID", "ENTITY", "ID in ('%ENTITY_SET%')")
instead of the first line of the script.
If you want to specify the application, please use
*APP WHAT=PLANNING;WHERE=PLANNING;USING=PLANNING;TOTAL=PLANNING
The syntax you have used wont work.
*APP is an optional parameter. Please use it only if its necessary.
Karthik -
Failed to Finish Transition(Subscript out of Range)
We are receiving this error message during playback intermittently: Failed to Finish Transition(Subscript out of Range).
Does anyone what causes this and how to resolve it?Can you give more details about what the script is doing when you get this error? Looks like an application generated message, the script is not inputting correct parameter values required on that page, maybe.
Message was edited by: mpalivela -
Validating members:Subscript out of range
Hi there.
I have a logic that runs the validations but when i run it it says:
"ExecuteBaseLogic::
1 errors writing data
Validating members:Subscript out of range"
I looked at the logs and it is not really helpfull
Could someone guide me where to look for the problem please?
Thanks
NicHere is the logic i was talking about:
*Include System_Constants.lgl
//Send intercompany totals to Finance
*Xdim_memberset RptCurrency=LC
*Destination_App=Finance
*Skip_dim= Intco
*Rename_Dim ICAccount=Account
*Add_Dim AcctDetail=No_F
//*Add_Dim DataSrc=input
*When TIME
*IS %TIME_SET%
*WHEN ICaccount.ACCTYPE
*IS "LEQ"
*REC(Factor=-1)
*ENDWHEN
*WHEN ICaccount.ACCTYPE
*IS "AST"
*REC(Factor=1)
*ENDWHEN
*ENDWHEN
*Commit
As you see it it pretty simple, but i am missing smtg.
When I de-comment the "DataSrc=input" line, then i dont get any errors: neither at the validation nor when i send data.
But the totals are not sent. Just the last updated amount in my interco is sent to finance...
Nic -
BAT Import "Subscript out of range"
I'm attempting to import phones and users with the BAT version 5.0(2) and CCM 4.0. The file is validated fine, but when I do the insert, the browser returns the error dialog:
Error Number: -2146828279
Description: Subscript out of range
The users then appear to be imported, but not the devices. Looking up the error on google indicates that it's a VBA scripting problem. I tried firefox, but it doesn't seem to work at all.
Thanks for any suggestions,
MarkThe core issue for me was that ANY data the Callmanager didn't like would result in that error - two problems I had were not putting leading zeros on the number of lines (it requires 2 digits), and trying to use commas in the description (even enclosed in quotes which the documentation says will work, it doesn't). I did have to load the new device pack for 7911 support when I did this install, but I only had 4 7911's so I did them manually, and no 7912's.
Good Luck,
Mark -
ADM Error processing results from query: Error: Index 0 out of range
11.1.2.1
When running quite a large book, we are getting the following error:
ADM Error processing results from query: Error: Index 0 out of range
The individual reports in the books are running fine.
PS. The report books that are giving this error run fine on 9.3.1
Could this be a time-out issue and how do we resolve it?what is background datasource Essbase or HFM
do you have lot of data in pov please try below
>Do you have pov prompt
>increase jvm heap size for report server in reporting server
>Fr log files has some more detail
Maybe you are looking for
-
Is there a way have a file only accessable by only one user at a time
Here's the question... I want to set up a file so that it can only be accessed by only one person at a time - is there any way to do this?
-
Apple's new wireless keyboard - why no numeric pad?????
I wanted to go buy one of those new sleek keyboards a while ago and I wanted it to be wireless. But then I found out that the wireless keyboard doesn't have a numeric pad! Why? Really, I don't see the purpose of this! I hope someone at Apple reads th
-
Photos showing in Photo browser after editing
Each time I edit a photo and later when I bring up the Organizer I find that photo in the Photo Brower with no tags. Did overlook a setting in the photo editor as I would like to have only photos that I want go get later from staging folder, camera,
-
Service Tax ( RG23A)
Hi, I have put the service tax entry but it could not hit in the RG23A Register.I think if there is any configuration settings. So please tell me the settings with T.codes. Its very urgent Thanks & Regards R.Manigandan
-
How to insert Google geocoded values in database
Hi I have tried Google map integration with apex , it is wonderful. Can I have some tips on how can I insret the same geocoded values in my database for the infrastructure and mesh the infra with google map. Please help Prashant