ThrottleWorks
Excel Ninja
Hi,
I am getting problem while displaying Shape.
I have following lines at the start of my code.
Sheets("BSE Index Watch").Select
On Error Resume Next
ActiveSheet.Shapes.Range(Array("MyShp1")).Select
ActiveSheet.Shapes.Range(Array("MyShp1")).Visible = True
On Error GoTo 0
I want to populate a shape when macro gets started.
The shape gets hide once the macro finishes.
When I run the macro in one go, pressing function key F5, the shape does not get populated.
But when I run the macro by doing F8, it is running fine.
When I run the macro by doing F8, the shape gets displayed at the start & disappears at the end.
But same does not happen with F5.
Can anyone help me with this.
I am getting problem while displaying Shape.
I have following lines at the start of my code.
Sheets("BSE Index Watch").Select
On Error Resume Next
ActiveSheet.Shapes.Range(Array("MyShp1")).Select
ActiveSheet.Shapes.Range(Array("MyShp1")).Visible = True
On Error GoTo 0
I want to populate a shape when macro gets started.
The shape gets hide once the macro finishes.
When I run the macro in one go, pressing function key F5, the shape does not get populated.
But when I run the macro by doing F8, it is running fine.
When I run the macro by doing F8, the shape gets displayed at the start & disappears at the end.
But same does not happen with F5.
Can anyone help me with this.