Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 03-12-2020, 11:31 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 Remote Call Procedure failed error

Quote:
Originally Posted by macropod View Post
You should close all instances of Excel, then check Task Manager to ensure you don't still have any orphaned Excel sessions running in the background. If you've messed up your code development, it's quite possible such an instance is keeping the workbook open.

Until you have the code running correctly, it's advisable to use:
.Visible = True
instead of:
.Visible = False
Hi Paul, as suggested by you, I have made necessary amendments. the code works fine in MS Office 2007 only if I set the xlApp object as visible, i.e. .Visible=True. When I change it to False, the error "Remote Call Procedure Failed" comes. Can you throw some light on it and how can I avoid it?

thanks
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 04:16 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