"Comment.Shape.Fill.UserPicture" CHARACTER LIMIT?

MeiR_ct

New Member
Joined
Feb 22, 2009
Messages
43
I have a VBA macro that fills pictures in comments (based on the famous link: http://www.contextures.com/xlcomments03.html#PictureFile)
Using Excel 2002 (XP), running on Windows XP Professional.

I've found out that if the picture path in "UserPicture" method is above 99 characters, the macro won't fill any picture in the comment (also when using a variable to store the path).
You can easily reproduce it with subfolders and LEN() function, it in order to verify.

Is there any way to bypass it?
I have plenty of picture folders, which I use for my work, and many of them are located in long paths.
Should I really start moving them one by one to a shorter path?

Hope there's a simple solution.

Thanks in advance,
Meir.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Oh boy! Blame Herman Hollerith and the 80-column punch card he invented.


I’m using Windows 7 and it won’t let me setup a path with more than 80 characters.
 
Upvote 0

Forum statistics

Threads
1,224,802
Messages
6,181,048
Members
453,014
Latest member
Chris258

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top