Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Macro for opening files that changes names

Hi there,

I am new to the world of macros and was wondering if there was any way
to create a macro that could open a file which changed name daily.

Also what coding would you use if it changed directory/location too?

Kindest Regards,

Juliodenero

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Macro for opening files that changes names

maybe this
Sub test()
Dim OpenAFile As FileDialog
Set OpenAFile = Application.FileDialog(msoFileDialogOpen)
With Application.FileDialog(msoFileDialogOpen)

If .Show Then .Execute
End With
End Sub

" wrote:

Hi there,

I am new to the world of macros and was wondering if there was any way
to create a macro that could open a file which changed name daily.

Also what coding would you use if it changed directory/location too?

Kindest Regards,

Juliodenero


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
Opening Files George E Excel Discussion (Misc queries) 3 September 5th 05 04:12 PM
opening files Almond Excel Discussion (Misc queries) 2 September 2nd 05 02:30 PM
How can I view files chronologically when opening multiple files Stevilsize Excel Discussion (Misc queries) 3 July 26th 05 12:49 AM
Opening Files with the Same Name MB Excel Discussion (Misc queries) 2 February 24th 05 11:41 PM


All times are GMT +1. The time now is 12:43 AM.

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

About Us

"It's about Microsoft Excel"