Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2016, 04:21 AM
PRA007's Avatar
PRA007 PRA007 is offline How to run vba asynchly Windows 7 64bit How to run vba asynchly Office 2010 32bit
Competent Performer
How to run vba asynchly
 
Join Date: Dec 2014
Location: Ahmedabad, Gujrat, India
Posts: 145
PRA007 is on a distinguished road
Default


Is there any way I can convert My code such a way that, While it is running, I can work with the word?
Reply With Quote
  #2  
Old 01-11-2016, 04:28 AM
macropod's Avatar
macropod macropod is offline How to run vba asynchly Windows 7 64bit How to run vba asynchly Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,385
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by PRA007 View Post
Is there any way I can convert My code such a way that, While it is running, I can work with the word?
Not when it's running on the Active document in the foreground Word session. By definition, that means you're running the code against whatever document is on screen and you can't do anything with that document until the code has finished; to be able to continue working in Word you would have to run the code in a different Word instance against a different document to the one you have on screen.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 01-11-2016, 04:36 AM
PRA007's Avatar
PRA007 PRA007 is offline How to run vba asynchly Windows 7 64bit How to run vba asynchly Office 2010 32bit
Competent Performer
How to run vba asynchly
 
Join Date: Dec 2014
Location: Ahmedabad, Gujrat, India
Posts: 145
PRA007 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Not when it's running on the Active document in the foreground Word session. By definition, that means you're running the code against whatever document is on screen and you can't do anything with that document until the code has finished; to be able to continue working in Word you would have to run the code in a different Word instance against a different document to the one you have on screen.
How to achieve that?
Apology for extended discussion but I don't Have any Idea what I can do with my problem.
Reply With Quote
Reply

Tags
vba



Other Forums: Access Forums

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