View Single Post
 
Old 09-09-2023, 01:28 PM
puff puff is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Apr 2017
Posts: 60
puff is on a distinguished road
Question Change font color of a textbox on a canvas

Hi! I have a canvas with multiple textboxes on it. I select a textbox and want to change the font color of it using VBA, but it seems to be very hard to achieve this. Part of the reason seems to be that the selection itself is actually the canvas, not the specific textbox. Is there a way from the VBA perspective to know which textbox I selected? I then have no issue changing its font color since I can do so on textboxes that aren't on a canvas. Thanks!
Reply With Quote