Visio Guy

Visio Discussions => General Visio => Topic started by: thalantyrdsl on July 17, 2017, 05:38:01 AM

Title: Insert Picture - Rotating 90-degrees counterclockwise
Post by: thalantyrdsl on July 17, 2017, 05:38:01 AM
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.
Title: Re: Insert Picture - Rotating 90-degrees counterclockwise
Post by: Yacine on July 17, 2017, 06:23:57 AM
angle = 90 deg
Title: Re: Insert Picture - Rotating 90-degrees counterclockwise
Post by: thalantyrdsl on July 17, 2017, 06:58:43 AM
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.
Title: Re: Insert Picture - Rotating 90-degrees counterclockwise
Post by: Yacine on July 17, 2017, 07:56:38 AM
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"