Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2024, 05:06 AM
Shelley Lou Shelley Lou is offline VBA Run Time Error 91 Windows 10 VBA Run Time Error 91 Office 2016
Expert
VBA Run Time Error 91
 
Join Date: Dec 2020
Posts: 259
Shelley Lou is on a distinguished road
Default VBA Run Time Error 91

Hello again Vivka, how strange that it works on your PC, I've just run your updated code but still getting the run time error 91 on this line



Code:
While rng.Characters.Last.Previous = "."
To further test I have selected just the text from 1 CABINET SUB-COMMITTEES down to 2.7.2. which worked but even though I had not select 3 Function of the Shareholders, the code still inserted a full stop after 3. I then selected the text from 3.1 to 3.12 but got the run time error. Any ideas?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why am I getting this run time error? MaxPower Excel 2 12-31-2023 01:31 AM
Word template with Macro keeps getting an error ''Run-time error 5941'' Marcel Word VBA 3 12-17-2019 04:55 PM
Word Error Message Run time Error 4605 baes10 Word VBA 1 08-30-2018 02:37 PM
Get Run-time Error 11 Jamtart PowerPoint 2 08-31-2012 05:04 AM
Word Visual Basic error - run time error 504 crazymorton Word 11 01-13-2012 04:32 AM

Other Forums: Access Forums

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