Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-04-2020, 03:02 PM
pushpi004 pushpi004 is offline Runtime error "Remote Call Procedure Failed" Windows 10 Runtime error "Remote Call Procedure Failed" Office 2016
Novice
Runtime error "Remote Call Procedure Failed"
 
Join Date: Feb 2020
Posts: 21
pushpi004 is on a distinguished road
Default Runtime error "Remote Call Procedure Failed"

Hi everyone



I have been getting a a lot of help on this forum for my ongoing small project. Specifically, Paul aka macropad has helped me a lot. This issue actually has come pertaining to one of his code.

I have been dealing with an issue lately. I have written a macro in MS word and exported it with relevant referenced Excel files to another system with different configuration.The details are as follows:-

Current system: Windows 10 OS, MS Office 365

New system: Windows 7 OS, MS Office 2007

Upon running the code on the new system after importing it, the runtime error "remote procedure call failed "comes on the line

Set xlWkBk = xlApp.Workbooks.Open(FileName:=StrWkBkNm, ReadOnly:=True, AddToMru:=False)


I have already defined xlApp, xlwkBk as object and StrWkBkNm as location for Excel file. xlApp has also been set with Excel application object.

The code runs perfectly on my current system.
I have tried all sorts of variables for open method but it doesn't work. On giving the direct path of the database, it gives error sometimes as
"Runtime error object required" or sometimes it gives error "open method of workbooks failed" .

I have even changed the database file compatible to MS Excel 2007. But that doesn't work either.

I am struggling with this since couple of days. Can't get through. Please help if you can..
Regards
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Floating" Text (Don't know what else to call it) shawn.low@cox.net Word 0 05-31-2019 09:59 AM
Runtime error "Remote Call Procedure Failed" How to call up "Recovered Files" on demand slavrenz Office 7 10-16-2015 05:57 PM
Error: "Changes made were lost...reconnect with server", when switching "from" field randhurrle Outlook 2 02-25-2015 06:51 PM
Runtime error "Remote Call Procedure Failed" Execution error 2147023170 - Failure call of distant procedure - POWERPOINT 2013 fidecourt PowerPoint 2 02-26-2013 10:25 AM
Microsoft Office 2010 programs display error message "Application has failed to start SamSR Office 1 02-15-2011 07:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft