Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-05-2023, 06:45 AM
puff puff is offline Insert a canvas at current cursor location [code attached] Windows 10 Insert a canvas at current cursor location [code attached] Office 2016
Advanced Beginner
Insert a canvas at current cursor location [code attached]
 
Join Date: Apr 2017
Posts: 60
puff is on a distinguished road
Default


Thanks for the response! On my side your code somehow always inserts the canvas into the paragraph that is above the paragraph that the cursor is currently in. I used "Set currentParagraphRange = Selection.Range.Paragraphs(1).Range.Next" to solve the issue but ran into errors if the current paragraph is the last paragraph in the document so there's no "Next". Is there a way to solve this?
Reply With Quote
Reply

Tags
canvas



Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine Style of paragraph at current location exoson Word VBA 2 01-25-2022 11:15 AM
Insert a canvas at current cursor location [code attached] How do I insert a drawing canvas in Office Professional 2010? laredotornado Word 2 02-22-2017 02:28 PM
Insert a canvas at current cursor location [code attached] Cursor location on first click -- insertion point stevec5088 Word 1 12-14-2016 02:45 PM
Insert a canvas at current cursor location [code attached] Hightlight cells based on cursor location megads Excel Programming 2 07-31-2014 06:10 PM
Insert a canvas at current cursor location [code attached] Auto insert current month's name and current year Styler001 Word 4 01-25-2010 06:40 PM

Other Forums: Access Forums

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