Insert Picture - Rotating 90-degrees counterclockwise

Started by thalantyrdsl, July 17, 2017, 05:38:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thalantyrdsl

Hi all,

I recently received some awesome help with something I wanted coded into Visio.
Since working through that I've had an issue where ALL images that I insert into Visio are rotating 90 degrees on insert.
This is causing a huge problem as the code was to insert an image into a shape, which are all now inserting rotated and incorrectly.

I'm sure there's a simple solution for this as I've been using Visio at home for 12 months odd now, inserting images every day, and none of them did this.
Somewhere along the lines I've opened someone elses template and it's made my Visio default to the rotated picture.

Does anyone have any ideas what could be causing this? It's made life really difficult for me as I now have to rotate every image I insert (and can't use the new code).

Thank you in advance.

Yacine

Yacine

thalantyrdsl

Quote from: Yacine on July 17, 2017, 06:23:57 AM
angle = 90 deg

Hi Yacine. I've googled that but cannot find what you're referring to unfortunately.

Yacine

Sorry, for the too concise answer.

I assume, we are still speaking about inserting pictures by code.
After having inserted the picture as shape (let's call it "shp"), modify its angle.
shp.cells("Angle").formulaU = "90 deg"
Yacine