+ Reply to Thread
Results 1 to 3 of 3

Macro to shift between two sheet

  1. #1
    Registered User
    Join Date
    07-27-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    53

    Exclamation Macro to shift between two sheet

    Hi,

    I have a macro which runs between two files. The problem is one file name is not consistent, it keeps on changing but the first 5 letters of the file name are constant eg "toJPM".
    Now the problem is Macro does not shift to other workbook since it does not recognise the name. I have to change it every time.
    Is there any code which I can add in
    PHP Code: 
    Windows("toJPM..").Activate 
    so that macro run without changing the file name in the code everytime.

    Thanks
    Chetan

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Macro to shift between two sheet

    see whether this macro helps

    Please Login or Register  to view this content.
    Last edited by venkat1926; 07-07-2010 at 07:58 AM.

  3. #3
    Registered User
    Join Date
    07-27-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Macro to shift between two sheet

    Hey ! Venkat,

    Cool dude its working. Actually the code contain worksheets which was not working. I just made it to workbook and it solve my purpose...

    Thanks
    Chet

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1