News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Can you help vbs position, size, layer and lock

Started by GeorgeTX, April 28, 2016, 04:24:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GeorgeTX

4 STEP PROCESS

Hello, thanks for looking.
I am worn out and need to study VBA, but can you help this once?
I wish to drop a 800x600 picture into visio, resize it and set it as a background on a layer, while I annotate over the top of it.
I would drop the picture, and select it, then run the macro, which will:
1.   Position it at an absolute position relative to the ruler
2.   Size it to (lets say)  300x200
3.   Create a layer and move it to that layer
4.   Lock the item from selection
Thanks George.

Surrogate

Hi, George!

Do you need learn VBA or VBS (i.e. VBScript) ?
if you mean VBA, you can run macro-recorder, make your 4 step. And analise that code

aledlund

another resource to consider is the v2010 sdk (which supports vba examples), it's free.
https://www.microsoft.com/en-us/download/details.aspx?id=12365

al edlund

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 182 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1089KB.
Tokens: post-login.
Cache hits: 13: 0.00149s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 17.

[Show Queries]