Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-10-2019, 03:06 AM
Guessed's Avatar
Guessed Guessed is offline Open word userform from excel Windows 10 Open word userform from excel Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,184
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You are using GetObject which means Word must already be running. If it isn't then you need to use CreateObject.



Assuming that works, then Agendaku.docm must already be open. If it isn't then that will fail too.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #2  
Old 03-10-2019, 03:25 AM
matapagi2019 matapagi2019 is offline Open word userform from excel Windows XP Open word userform from excel Office 2007
Novice
Open word userform from excel
 
Join Date: Mar 2019
Posts: 12
matapagi2019 is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
You are using GetObject which means Word must already be running. If it isn't then you need to use CreateObject.

Assuming that works, then Agendaku.docm must already be open. If it isn't then that will fail too.
Yes, it is.
Agendaku.docm is already open.

But why does the error message still appear ?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word VBA: Open and work with a different doc from userform? AlanC Word VBA 2 06-25-2018 06:58 AM
Word UserForm search in Excel jhancock1994 Word VBA 3 05-21-2017 11:51 PM
Excel Userform to Word Template Bookmarks JCrinage Excel Programming 1 11-02-2016 07:03 PM
Open word userform from excel Populate Combobox from Excel into a Word UserForm ferguson4848 Word VBA 3 10-28-2016 09:05 PM
Trying to populate Word bookmarks with excel UserForm smd1112 Excel Programming 7 09-03-2014 09:42 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:27 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