macro code to bring an excel sheet to the front

Hi Experts,

    I am writing an excel macro . In the middle when macro runs ,  I open another excel file   thru the macro  ( And then a routine in macro runs that takes sometime )  My problem is , the Original sheet which called the macro is now in the back

    How can bring my original sheet  to the front ?

 Sam
Sam OZAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Rgonzo1971Connect With a Mentor Commented:
Hi,

pls try

ThisWorkbook.Activate

Regards
0
All Courses

From novice to tech pro — start learning today.