Runtime Error 1101. Application-defined or object-defined error
I am updating VBA code from MS project 2003 plans to 2013, and have come up with the following error message.
Run-time error 1101: Application-defined or object-defined error.
Any help to remedy the situation would be greatly appreciated.
Thanks
jfrh,
Normally you shouldn't have to make any changes to VBA written under Project 2003 in order for it to work with later versions however sometimes certain statements may need some "tweaking".
The general description of the run-time error doesn't help us much unless we know a little bit more about your macro. We don't necessarily need to see the whole macro but we do need some context as a starting point. What is the macro supposed to do generally?
Which line of code is highlighted when the error occurs?
John
Similar Messages
-
VBA Runtime Error 1004 "Application-defined or Object-defined error"
I have code VBA code written in MS Access 2010 (.mbd file) to write data into an Excel file (.xls file). Below is the code to write data into that excel file. When you run this code, it always throws Error#1004 "Application-defined or Object-defined
error". When you debug the code (F8) or run it (F5), it runs absolutely fine with out any issues. I am still not able to figure it out on what exactly the issue is. This code works fine when executed in MS Access 2007.
Below is thr code that's getting executed and when it fails, the focus is set on the 3rd last line of the code marked in double astriek mark.
Sub PopulateReport(appExcel As Object, testcam)
Dim Site As String, intRec As Integer, i As Integer, cnt As Integer, intRecSet As Integer, cntr As Integer
Dim F1 As String, F2 As String, F3 As String, F4 As String, F5 As String, F6 As String, F7 As String
Dim F8 As String, F9 As String, F10 As String, F11 As String, F12 As String, F13 As String, CAMDate As Date
Close
i = 0
cnt = 0
cntr = 0
Set cnn = CurrentProject.Connection
rec.Open "SELECT * FROM Site", cnn, adOpenStatic, adLockPessimistic
rec.MoveLast
rec.MoveFirst
intRec = rec.RecordCount
Do Until cnt = intRec
rec.MoveLast
rec.MoveFirst
rec.Move cnt
Site = rec(4)
Select Case Site
Case "Fort Worth"
cntr = 0
recset.Open "SELECT * FROM Employee", cnn, adOpenStatic, adLockPessimistic
recset.MoveLast
recset.MoveFirst
intRecSet = recset.RecordCount
appExcel.Application.Goto Reference:="START_FW_CL"
Do Until cntr = intRecSet - 1
appExcel.Selection.EntireRow.Copy
appExcel.Selection.EntireRow.Insert
cntr = cntr + 1
Loop
appExcel.Application.CutCopyMode = False
appExcel.Application.Goto Reference:="START_FW2_CL"
go = appExcel.Application.Range("START_FW2_CL")
cntr = 1
With appExcel.Worksheets("Accts. > Clearing").[START_FW2_CL]
Do Until recset.EOF
**.Offset(cntr, 0) = recset(0)**
.Offset(cntr, 1) = recset(1)
.Offset(cntr, 2) = recset(2)
End SubWhat's wrong about it? It can only copy what you chose to have in the recordset. If you only want some fields or fields in a different order, replace
SELECT * FROM with
SELECT Field1, Field2, etc
CopyFromRecordset is bay far the best method and runs much faster.
Rod Gill
Author of the one and only Project VBA Book
www.project-systems.co.nz -
Run-time error '1004' Application-Defined or object-defined error
Hello friends,
My requirement is to make the cells under Columns Actual, forecast and target (Dimesnion Category) Locked.
I've used various methods like GetOnlyRange but it didnt work.
Now, i've selected all the cells of the sheet, where user can input and made them unlocked. ( from Right-click>FormatCells>Protection tab-->Locked checkbox unchecked)
Then, go to "review" tab, click "Allow Users to edit Ranges",-> Protect Sheet---> ticked "Unlocked Cells"
Then go to WorkBook Options and set a password for the worksheet.
But on expand, I'm facing Run-time error '1004' Application-Defined or object-defined error.
Please help.
Please help.Hi,
I think that is VBA Runtime error, you can fix these errors by downloading in various sites.
http://www.articlesbase.com/data-recovery-articles/vba-runtime-error-1004-application-defined-or-object-defined-error-fix-these-errors--1339060.html
You can try with the above link. I hope this could solve your problem.
Regards,
B.S.RAGHU -
Application-defined or Object-defined error
Hello,
When I open Input schedule through open dynamic templates I get the following error message
Application-defined or Object-defined error
Version : BPC 7.0
SP05
Request your guidance.
Thanks,
RamsivaI have experienced much the same problem which I have documented in details here:
Excel Spreadsheet being opened in preview mode by some machines
(Note that I am only surmising the preview mode is the problem as I get the exact same error if I open it on the Development machine in preview mode).
My only workaround at the moment is to open the spreadsheet on the target machine and then replace the vba code and save the file locally (Copy Paste), or apply a digital certificate to the existing VBA code, although the latter only seems to work sometimes.
If I fix the problem on the target machine and then copy, open and close the file on the development machine when the file is sent back to the target machine the problem occurs again.
I have ruled out emailing being the problem as I have copied the file instead of emailing.
The development machine had a number of Office applications and Windows 7 updates applied around the time that the problem occurred, i.e. one day everything is fine, the next day it is impossible to run a new spreadsheet on certain machines.
The highlighted error is also with a .select statement but I isolated the code and put it into a test spreadsheet and that ran okay so it seems to be a more subtle problem.
It doesn't happen on all the machines and I can't see any pattern as to what machines it works on and those it doesn't. They are mostly Windows 7 64bit running Office 2010 and 2013, seems to be about 50/50 split as to working and not working.
I've ensured that the Windows Updates are up to date on all the problem machines.
I think it is the same problem and it helps knowing that someone else has experienced the same thing in order that I don't think I'm going crazy but it's a major problem for me and none of the suggestions so far seem to be close to explaining what is going
on.
If anyone wants samples in order to investigate the problem I am more than happy to send them the spreadsheets. -
Hello All,
I tried to Import Goods Issue in SAP B1, but I got Error as below
“ Enter valid code [IGE1.tem code][line1036] application-defined or object defined error65171 “
Anyone please suggest me what would be the cause of this error.
Regards,
HitulHi,
1. Make sure correct item code entered at row level.
2. Please refer SAP note 3.2 for solution.
865191
- Data Transfer Workbench (DTW) Troubleshooting Guide
3. Are you importing more than 1000 rows?
Thanks & Regards,
Nagarajan -
"Illegals parent number Application-defined or object defined error65171"
HI Experts,
I am trying to import a Chart of Account for a new company and I get this error message "Illegals parent number Application-defined or object defined error65171"
I have seen a couple of post on this topic but I can't pick out the exact thing I'm doing wrong. Can anybody please put me through?
If you can give me an email addres I can send the csv for so you can take a look, it format gets disrupted when I paste it here.
Waiting to Hear from you.
RegardsDear,
For your issue, If you are using non-segmentation account, please kindly check whether your
fatherAccountKey is empty or not, this column is mandatory field for non-segmentation account.
If you are trying to update chart of account with segmentation, please check the note 942939 below:
Symptom
When you try to update chart of account with segmentation, using the
standard template of DTW 2005, you will receive the error message
"Cannot find this object in B1 Application-defined or object - defined
error 65171.
Other terms
DTW; update; chart of account; SAP Business One;
Reason and Prerequisites
Possible reason:
1, Field 'Code' is blank.
In DI API Help file 2005 for OChartofAccount, it says that Field "Code"
is the Mandatory field in SAP Business One when Not Working with
Segmentation.
2, Field 'FormatCode'
The Account Segment Separator '-'.existed in 'FormatCode' field.
Solution
1, Field 'Code' is blank.
For updating existing chart of account with segmentation, This field is
mandatory. You must fill it with the account code of that account you
want to update. You can get the code of each account #_SYS00000000XX#
from OACT table. Otherwise, we cannot update it.
It is not covered in DI API Help file 2005.
2, Field 'FormatCode'
Please delete the Account Segment Separator '-'. For example, change
11005-000-00-11 to 110050000011. System will identify automatically.
Please make sure that the field is a Text format cell. You can change
the format cell by right click the cell.
Wish the information above could solve your issue.
Regards
Apple -
DTW - COA error Illegal parent numberApplication-defined or object-defined
Hi friends,
I am getting error "Illegal parent numberApplication-defined or object-defined errorchartOfAccounts"
while executing DTW - COA.
I am using country India verson and new company is created with user defined COA option.
I have used 100000000000000 to 500000000000000 as parent code for 2nd level accounts as the same is standard drawers for Country India version Chart of Account at level 1.
Can anybody throw some light on this ?
Thanks,
Samir Gandhi
Edited by: Samir Gandhi on Oct 15, 2008 11:51 AMSuda,
Below find the sample in code tag.
Code AccountType AcctCurrency ActiveAccount AllowChangeVatGroup BudgetAccount CashAccount DataExportCode DefaultVatGroup Details ExternalCode FatherAccountKey ForeignName FormatCode LiableForAdvances LockManualTransaction Name ProjectCode Protected RateConversion ReconciledAccount RevaluationCoordinated TaxExemptAccount TaxLiableAccount
Code AccountType AcctCurrency ActiveAccount AllowChangeVatGroup BudgetAccount CashAccount DataExportCode DefaultVatGroup Details ExternalCode FatherAccountKey ForeignName FormatCode LiableForAdvances LockManualTransaction Name ProjectCode Protected RateConversion ReconciledAccount RevaluationCoordinated TaxExemptAccount TaxLiableAccount
tNO tNO tNO 100000000000000 10000000 tNO ASSETS tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10000000 10100000 tNO Fixed Assets tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10100000 10101000 tNO Fixed Assets-Tangible tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10101000 10101100 tNO Free Hold Land tNO tNO tNO tNO tNO tNO
at_Other INR tYES tNO tNO 10101100 10101101 tNO Free Hold Land tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10101000 10101200 tNO Lease Hold Land tNO tNO tNO tNO tNO tNO
at_Other INR tYES tNO tNO 10101200 10101201 tNO Lease Hold Land tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10101000 10101300 tNO Factory Building tNO tNO tNO tNO tNO tNO
at_Other INR tYES tNO tNO 10101300 10101301 tNO Factory Building tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10101000 10101400 tNO Non-Factory Building tNO tNO tNO tNO tNO tNO
at_Other INR tYES tNO tNO 10101400 10101401 tNO Non-Factory Building tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10101000 10101500 tNO Plant & Machinery tNO tNO tNO tNO tNO tNO
at_Other INR tYES tNO tNO 10101500 10101501 tNO Plant & Machinery tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10101000 10101600 tNO Electric Supply System tNO tNO tNO tNO tNO tNO
at_Other INR tYES tNO tNO 10101600 10101601 tNO Electric Supply System tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10101000 10101700 tNO Vehicles tNO tNO tNO tNO tNO tNO
at_Other INR tYES tNO tNO 10101700 10101701 tNO Vehicles tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10101000 10101800 tNO Furniture & Fittings tNO tNO tNO tNO tNO tNO
at_Other INR tYES tNO tNO 10101800 10101801 tNO Furniture & Fittings tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10101000 10101900 tNO Office Equipments tNO tNO tNO tNO tNO tNO
at_Other INR tYES tNO tNO 10101900 10101901 tNO Office Equipments tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10100000 10102000 tNO Fixed Assets-InTangible tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10102000 10102100 tNO "Concessions,Patents,Licences,Trademarks,etc." tNO tNO tNO tNO tNO tNO
at_Other INR tYES tNO tNO 10102100 10102101 tNO Trade Marks tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10102000 10102200 tNO Goodwill tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10100000 10200000 tNO Accumulated Depreciation - Tangible Assets tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10200000 10201100 tNO Free Hold Land tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10200000 10201200 tNO Lease Hold Land tNO tNO tNO tNO tNO tNO
tNO tNO tNO 10200000 10201300 tNO Factory Building tNO tNO tNO tNO tNO tNO
Thanks,
Samir Gandhi -
Also when I am in a site, such as an account, and click on a highlighted link, I get another error, {Javascript Application] can't create mcafee plug-in object: Type Error: components. classes [cid] is undefined. The only mcafee I had on my computer was the secure search and I uninstalled it, but I still get this message. When I click on the OK button with the error message, then the link opens up.
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]] -
Excel Application-defined or object-defined error 32809
This error occurs on files that are received from outside our company network.
A file created on our company network, sent to customers (a technical questionnaire) who then complete and return them, no longer works correctly. This occurs when the file is sent by email or on a USB drive and is opened and then saved, even with no changes.
The Excel version is 2010 32 bit on Win8 64 bit machines
The error triggers in many different VBA sub routines on lines such as Sheets("Home").Select, and on lines in the immediate window such as Print Activesheet.nameI have experienced much the same problem which I have documented in details here:
Excel Spreadsheet being opened in preview mode by some machines
(Note that I am only surmising the preview mode is the problem as I get the exact same error if I open it on the Development machine in preview mode).
My only workaround at the moment is to open the spreadsheet on the target machine and then replace the vba code and save the file locally (Copy Paste), or apply a digital certificate to the existing VBA code, although the latter only seems to work sometimes.
If I fix the problem on the target machine and then copy, open and close the file on the development machine when the file is sent back to the target machine the problem occurs again.
I have ruled out emailing being the problem as I have copied the file instead of emailing.
The development machine had a number of Office applications and Windows 7 updates applied around the time that the problem occurred, i.e. one day everything is fine, the next day it is impossible to run a new spreadsheet on certain machines.
The highlighted error is also with a .select statement but I isolated the code and put it into a test spreadsheet and that ran okay so it seems to be a more subtle problem.
It doesn't happen on all the machines and I can't see any pattern as to what machines it works on and those it doesn't. They are mostly Windows 7 64bit running Office 2010 and 2013, seems to be about 50/50 split as to working and not working.
I've ensured that the Windows Updates are up to date on all the problem machines.
I think it is the same problem and it helps knowing that someone else has experienced the same thing in order that I don't think I'm going crazy but it's a major problem for me and none of the suggestions so far seem to be close to explaining what is going
on.
If anyone wants samples in order to investigate the problem I am more than happy to send them the spreadsheets. -
Cisco CRS Historical Reports error "run time error 364 application defined or object-defined error"
Hi All,
we are getting an error when we open historical reportHi;
The 713 error generally means something is not installed correctly for the runtime.
How did you deploy the runtime to the client system?
Regards,
Jonathan -
Err: Non-valid period-application defined or object defined error orders
Hi
Please solve above error
When importing the Sales Order Data i got this error.
I don't undertstand yet this error
Please help me
Kishorkishor,
Please help us, help you.
You have to provide more information in order for us to understand the problem.
Where were you? (indicate what module and form you were working in).
What were you doing? (please state every step you made in the form).
What was the complete error message?
Best Regards,
Vítor -
Runtime error 32809 Application or object defined
My code is used by six different remote sites [exact same code]. I made some changes to the code, export the changed modules to a file which is then imported in the various site's program. Before I sent the code to the user I run a test to ensure there's
no problems. I've being doing this for some time without any hazels. No suddenly I get this message on some of the sites at different areas of the code. For instance this is some part of my code:
If ActiveSheet.name = "ABC" then tSer [public decl as long] = 5
If ActiveSheet.name = "DEF" then tSer = 6
If ActiveSheet.name = "GHI" then tSer = 7
I get the error on the first line [ABC]. My limited VBA knowledge tells me even if sheet ABC does not exits, the code should do the next test?
Any assistance would be much appreciated! I search for error code 32809 - No results.
Tank youHello Hennie,
The
Excel Application-defined or object-defined error 32809 forum thread states the following:
Many users have run into this problem recently. This could be caused by an update for the Office application. Please take a look at this thread:
https://social.technet.microsoft.com/Forums/en-US/473b1980-56b3-49ff-be71-3a60c0db048b/form-controls-stop-working-after-december-2014-updates?forum=excel
There's a probabability that the customers outside the corperate network had installed the update, so when they opened the workbook you created, it damage the workbook. Please try the solutions provided in the thread.
Also some users work around by adding some inconsequential comments after the Select method, or create a brand new workbook then copy the data and VBA code in it. -
Hi,
Im inputting data on journal entry module on SAP B1 when the message showed up, my computer is running on windows 8. (is it an OS problem?) Is there anyway that i could get rid of this error.
Thanks and Regards,
ChristianHi Christian,
Please check below link.
https://helpdesk.coresystems.ch/entries/20781833-Internal-error-131-occurred-131-183-FAQ-10062-
SAP B1 client system we got error Internal Erro... | SCN
Internal error (-1101) occurred [Message 131-183]
Internal error (-1101) occured [Message 131-183]
Hope this help
Regards::::
Atul Chakraborty -
Startup error, weblogic.application.ModuleException
startup error, weblogic.application.ModuleException
I got a error when I startup my server. Here is the trace."workspace " is my application.
<Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application 'workspace'.>
<Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
at weblogic.servlet.internal.WebAppHelper.addListenerElements(WebAppHelper.java:244)
at weblogic.servlet.internal.WebAppHelper$IOHelperImpl.parseXML(WebAppHelper.java:224)
at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:324)
at weblogic.servlet.internal.WebAppHelper.registerTagLibListeners(WebAppHelper.java:174)
Truncated. see log file for complete stacktrace
Here is the weblogic.xml in my application.
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
<context-root>/workspace</context-root>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
I have two ways to deploy my application,using installer or deploying it manually.
Using installer is ok,but I deployed it by myself,the problem came up.That's odd
I need the weblogic.xml to resovle another problem.some one can help,thanks.
-
Dear Sirs, I try to import budget header and budget line by using DTW, however error message found, "Cannot find this object in B1 application defined, object defined error 65171. Regards, Saw Hua
Hi Javier,
Please check below links.
DTW Error 65171
DTW error 65171
DTW, Unkonwn error 1005!65171
DTW error 65171 - Cannot find this object
DTW error65171
SAP B1 Data Transfer WorkBench : Data too large... | SCN
Hope this help
Regards::::
Atul Chakraborty
Maybe you are looking for
-
How do I moved my saved photos to my new Windows 8.1 computer?
I have Zoom Browser 4.1.0.46 which came with my Canon SD100 about 10 years ago. I have hundreds of photos saved and I want to move them from my windows XP computer to my new windows 8.1 computer. How do I transfer them? They're in a folder titled c:\
-
It is possible to change any warning message type to error message type?
Dear All, Kindly do your need full efforts to solve this problem; For T code iw32, material avaibility checks works but it gives warning message as per error message required at this point. It is possible to change that message 281 i.e. Order & has m
-
Hi , I would like to send the MimeMessage object via socket connection. To do do that i have written the following code fragment Socket s = new Socket("localhost",3200); OutputStream os = s.getOutputStream(); MimeMessage mimemessage //some code to cr
-
Illustrator making objects transparent when shouldn't
I just recently upgraded to CS5 from 3 on Windows XP. I created a graphic with some design elements to make it a little 3D looking and exported to a PNG with transparent background for powerpoint. When the graphic overlays another, parts are transpa
-
I have old I POD not set from my pc how do down load so I can put on new I POD
I have a old IPOD one of the first ones,the music was set from a different computer! How do I down load to my computer so I can put it on a new I POD before the old one crashes?