Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default application.run 'current' filename?

I have this code:

Application.Run "MESSER.xls!Sort_by_ID"

how can I make the "MESSER.xls" to be automatically the "current" Filename?

Helmut
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default application.run 'current' filename?

Application.Run "'" & ActiveWorkbook.Name & "'!Sort_by_ID"

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Helmut" wrote in message
...
I have this code:

Application.Run "MESSER.xls!Sort_by_ID"

how can I make the "MESSER.xls" to be automatically the "current"

Filename?

Helmut



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I display the current XLS filename in a toolbar? [email protected] Excel Discussion (Misc queries) 1 June 4th 10 12:59 PM
get the current filename as a variable Janis Excel Programming 10 September 2nd 06 02:01 PM
Filename with current Date() Chip Pearson Excel Programming 1 January 8th 04 07:18 AM
Filename with current Date() Graham[_5_] Excel Programming 1 January 8th 04 07:15 AM
Append current date to filename Rhonda[_2_] Excel Programming 5 September 16th 03 11:34 AM


All times are GMT +1. The time now is 01:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"