+ Reply to Thread
Results 1 to 3 of 3

Any shortcut to run VBA macro when macro file is close

  1. #1
    Registered User
    Join Date
    12-03-2014
    Location
    India
    MS-Off Ver
    MS-OFFICE 2010
    Posts
    15

    Any shortcut to run VBA macro when macro file is close

    Hi all,

    I need your help.

    I have created a macro file (xx.xlsm) to get some details in particular excel file(yyy.xls).

    But I want to know, if it's possible to run Excel macro for that particular excel file when my macro file is not open.

    Adding the macro button in Customize Quick access toolbar is also the way but I want to know if its possible to run that macro directly when that file (yyy.xls) is open to get the details.

    Please help frdssss

    Please note - the mentioned (yyy.xls) file is extracted from server so unable to put the code in that file.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Any shortcut to run VBA macro when macro file is close

    Hi Kalpesh,

    I always wonder how a program is supposed to run when it isn't in memory. In my mind a file that is "open" is in memory and if it "closed" is lives on a drive somewhere. I don't think there is a way to run a program that isn't in memory but I may be wrong. Let's see what the other guru's say about this problem.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    12-03-2014
    Location
    India
    MS-Off Ver
    MS-OFFICE 2010
    Posts
    15

    Re: Any shortcut to run VBA macro when macro file is close

    Thanks Marvin for your reply....

    but really looking forward for if any way...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Script/macro to save a copy as tab delimited text file and then close original file
    By Merlin803 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-02-2015, 01:34 PM
  2. Replies: 0
    Last Post: 10-02-2013, 01:47 AM
  3. [SOLVED] Macro to open every file in a folder, run a certain macro and close each file.
    By masben in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-14-2013, 05:45 AM
  4. Macro to create a new file, saveas and close file
    By kaismum in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2006, 09:34 AM
  5. [SOLVED] HELP for a macro to create a shortcut of an excel file on the desk
    By Francesco in forum Excel General
    Replies: 2
    Last Post: 04-13-2006, 12:20 PM
  6. [SOLVED] [SOLVED] Close file and run macro from newly opened file
    By Pradip Jain in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2005, 07:06 PM

Tags for this Thread

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