Converting Image insert Marco from MS Office 2003 to 2016

Larendran Laru

New Member
Joined
Aug 20, 2018
Messages
1
Hi All,

I need help converting some macro found in MS Office 2003 into MS Office 2016.

The following works in MS Office 2003 but does not work in 2016.

Art.xls is stored in XLSTART folder and opens in Excel hidden .
Another workbook contains the macro buttons that call an image from ART.xls.
The image box is selected prior to operating any macro buttons.
The result would be the image box containing the respective image that was called through the macro button selected.

These are the VBA codes used.

Sub Screw33()
ActiveShapes = Activate
Selection.Formula = "Art.xls!$A$1"
Selection.Formula = ""
End Sub

Sub Screw34()
ActiveShapes = Activate
Selection.Formula = "Art.xls!$E$1"
Selection.Formula = ""
End Sub


Please refer to the link for a detailed illustration that describes the purpose of this image macro.

view
https://drive.google.com/file/d/1IZtmFsZ6BxubnQL4Qd51LJ77l8CNlK_2/view?usp=sharing

Thank you very much.
Regards
Laru.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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