Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run-time error '429'


Hi there

I created macro which works fine (Excel XP). The macro is run by the
click on the button. However, when I sent this file to my friend in
Australia (Excel 2003), he receive the error message
"Run-time error '429': ActiveX component can't create object"
we tried the solutions mentioned at the Microsoft web sites but no
success :(
Can anybody help me with that? Thanks in advance

Cheers
Pavel


--
slaya_cz
------------------------------------------------------------------------
slaya_cz's Profile: http://www.excelforum.com/member.php...o&userid=16723
View this thread: http://www.excelforum.com/showthread...hreadid=378911

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run-time error '429'


Could you post your code, and the line which gives the particular
error.

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=378911

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run-time error '429'


There are 2 sheets, "Data" and "Start".
When the file is opened, the sheet 'Data' is locked, and there is set
as active sheet 'Start'. There is placed button. When I click on the
button, it runs macro button10_start(). Ask for the ID number and when
I define that, find the row which starts with this number


Sub Auto_Open()
On Error GoTo chyba
Worksheets("Data").Activate
If ActiveSheet.ProtectionMode = False Then
ActiveSheet.Protect Password:="password", DrawingObjects:=True,
Contents:=True, Scenarios:=True
End If
Worksheets("Start").Activate
Exit Sub
chyba: MsgBox ("!!Error!!")

End Sub

Sub button10_start()
Dim rngfact, rng As Range
Dim pom, pom1 As String
Dim D As Date

pomocny_nazev = InputBox("Write the ID number", "ID Number")
pom3 = pomocny_nazev
If pomocny_nazev < "" Then
' tady najdu ID number
With Worksheets("Data")
Set rngfact = .Range("A2:A999")
With rngfact
Set rng = .Find(What:=pomocny_nazev, After:=.Cells(1),
LookIn:=xlValues, SearchDirection:=xlNext, MatchCase:= _
True, SearchFormat:=False)
End With

If rng Is Nothing Then
MsgBox ("ID number " + pomocny_nazev + " not found!")
Else

Worksheets("Data").Activate
Cells.Find(What:=pomocny_nazev, After:=ActiveCell, LookIn:=xlValues,
LookAt:= _
xlWhole, SearchOrder:=xlByColumns, SearchDirection:=xlNext,
MatchCase:= _
True, SearchFormat:=False).Activate
x = ActiveCell.Row
y = ActiveCell.Column
.....and fill in local variables


--
slaya_cz
------------------------------------------------------------------------
slaya_cz's Profile: http://www.excelforum.com/member.php...o&userid=16723
View this thread: http://www.excelforum.com/showthread...hreadid=378911

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run-time error '429'


And when does the error come, when you open the file, or when you press
the button.

Also, which line is highlighted when the error comes.

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=378911

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run-time error '429'


The error comes when I press the button. The file is opened without any
problem.

there is nothing highlighted, because it displays error dialog and
there is only possibility to press button "End" or "Help". Buttons
"Continue" as well as "Debug" are dimmed so I can define what is wrong
in the code


--
slaya_cz
------------------------------------------------------------------------
slaya_cz's Profile: http://www.excelforum.com/member.php...o&userid=16723
View this thread: http://www.excelforum.com/showthread...hreadid=378911



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Run-time error '429'


Can't find anything in the code that should give an error. Ask your
friend to check for any missing references in the VBE. (Tools
References. check for boxes which are checked and have missing tag)

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=378911

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
XL Runtime error '429' message XL Baby Excel Discussion (Misc queries) 2 August 7th 08 02:56 PM
XL Runtime error '429' message: a question to Microsoft's experts XL Baby Excel Discussion (Misc queries) 0 August 4th 08 01:28 AM
XL Runtime error '429' -- help please XL Baby Excel Discussion (Misc queries) 0 July 30th 08 09:20 PM
Code Error - Run Time Error 5 (Disable Cut, Copy & Paste) Tim[_36_] Excel Programming 4 April 23rd 04 02:53 AM
Runtime error '429': ActiveX component can't create object. HELP!! brazilnut Excel Programming 2 January 30th 04 10:47 PM


All times are GMT +1. The time now is 07:38 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"