Runtime Error 429 win7 office 2010 64 bit

silentwolf

Well-known Member
Joined
May 14, 2008
Messages
1,216
Office Version
  1. 2016
Hi guys,

unfortunatelly I am also one who is getting this error when I try to access excel data in access.
However there are many things online regarding this issue.. but as I am not very familiar with this issues and fixing them I am hoping to get a good advice here.

As there are many things online regarding this issue I am not sure if it matters what system or office programm someone uses... so is there a certain site I can use
for exactly my windows and office programm?

Thanks for advice.

Albert
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi Xenou,

thanks I will look at this..

Here is what I am trying to do

Code:
Property Get ErsterInhalt(strDateiname As String) As Variant
    Dim appExcel As Excel.Application
    Dim wbkExcel As Excel.Workbook
    Dim wksExcel As Excel.Worksheet
[B]    
[COLOR=#ff8c00][I]    Set appExcel = GetObject(, "Excel.Application")[/I][/COLOR][/B]
    Set wbkExcel = appExcel.Workbooks.Open(CurrentProject.Path & "\" & strDateiname)
    Set wksExcel = wbkExcel.Worksheets("Tabelle1")
    
    ErsterInhalt = wksExcel.Range("A1").Value
    
End Property

this is the class Module
and the code stop on the yellow marked line

Code:
Sub TesteZugriffExcel()
    Dim clsExcel As clsErstesExcel
    
    Set clsExcel = New clsErstesExcel

    Debug.Print clsExcel.ErsterInhalt("MeineZahlen.xlsx")
End Sub

and above is the code in the module..

Thanks

Albert
 
Upvote 0
Albert

Does it make any difference if you use CreateObject instead of GetObject?
Code:
Set appExcel = CreateObject("Excel.Application")
 
Upvote 0
HI Norie,
yes it does .) it works now..
So why is that? And where is the problem or was the problem?

You know everything haha :)
 
Upvote 0

Forum statistics

Threads
1,221,783
Messages
6,161,938
Members
451,730
Latest member
BudgetGirl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top