If statement, autoshapes and multiple sheets

subsoa

New Member
Joined
Sep 24, 2012
Messages
2
Hi forum,

I'm trying to create a workbook that (when done) is able to insert autoshape depending on the variable of a cell.
F.x.:

if cell sheet!1 A1 == 1 then
insert autoshape_1 from Sheet!2 in cell B2
insert into autoshape_1/cell B3 "value from cell A2"
if else sheet!1 A1 == 2
insert autoshape_2 from Sheet!2 in cell B2
insert into autoshape_2/cell B3 "value from cell A2"

this isn't the correct code, know that much, but I'm having trouble inserting autoshapes if an if statement is true.

-------------------------------------------------------------------
Sheet 1 : interface
Sheet 2 : keeps track of data + where autoshapes are placed.

I've tried creating macro's but I'm thinking there should be a more suffiecient way than running a macro for inserting an autoshape depending on a cells value.

Also seen something similar done with pictures, but I need the autoshapes, to be able to fill in text into them, and wasn't able to convert the VBA script found : http://www.mrexcel.com/forum/excel-questions/245508-dont-know-if-can-done.html#post1203350

If it matters, I'm running Office 2003. :/


Any help is greatly appriciated!! :)
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,223,909
Messages
6,175,313
Members
452,634
Latest member
cpostell

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