I looked thru the pages you suggested and did not find anything applicable
that was not already done, however I am not that sharpin Excel.
The strangest thging to me is that the macro will run if ran from the
toolbar macro pulldown menu but not from the shortcut.
I also recorded a new macro with new name and shortcut using the downloaded
file immediately after it downloaded and have same results IE marco works
but not from shortcut.
Please see my responces to your comments below.
Mel
If the file you download has the same name as your own file
you can only have one file open with the same name.
The downloaded file allways has a different name such as
pfmdownload.csv.xxxkeycodesxxx
When you assign a shortcut it is stored in your Toolbars file and
will refer to the file at the location when you assigned the macro.
So it will include the full pathname.
If you want to use your macros in on several different files would
suggest you store your macros in your personal.xls workbook,
and hide that workbook
The file I want to run is named personal.xls!sortstock and has ctrl+shift S
for its shortcut.
The personal.xls workbook is hidden.
More information on personal.xls in
http://www.mvps.org/dmcritchie/excel/getstarted.htm
best to let Excel assign your personal.xls so it gets created in
the correct directory (XLSTART).
Additional pages that may be of interest include
http://www.mvps.org/dmcritchie/excel/shortx2k.htm builtin Shortcuts
http://www.mvps.org/dmcritchie/excel/toolbars.htm Toolbars
http://www.mvps.org/dmcritchie/excel/bqrhopper.htm Listing & fixing
toolbars
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages:
http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page:
http://www.mvps.org/dmcritchie/excel/search.htm
I couldn't get a reply in excel programming group, hopefully here?
-
If I open a local file my shortcuts, to run macros, work fine but if I
download a file which opens in Excel my shortcuts will not work. However
selecting the drop down marco under tools does work from its RUN button
and
displays the shortcut key as well as "all open workbooks" under edit.
What's stopping my shortcut from working?
Thanks
Mel