+ Reply to Thread
Results 1 to 6 of 6

Opening a sheet which name is changing daily

  1. #1
    Registered User
    Join Date
    02-21-2016
    Location
    PL
    MS-Off Ver
    2010
    Posts
    11

    Opening a sheet which name is changing daily

    Hi,
    I know how to activate/open sheet/excel file but the problem is when name is changed.
    For example sheet name: "Report_010216".

    O.K I can suggest code e.g. sheet(1). select. But what if sheet and position in range has changed next day? What should code include when "Report_" is fixed and "010216" is changing daily.

    The same with name of excel file.
    For example excel file name: "Report_010216.xlsx"

    Many thanks for your help.

    Regards,
    Maciej

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Opening a sheet which name is changing daily

    Dynamic Day string:
    Please Login or Register  to view this content.
    Last edited by protonLeah; 06-03-2016 at 06:13 PM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-21-2016
    Location
    PL
    MS-Off Ver
    2010
    Posts
    11

    Re: Opening a sheet which name is changing daily

    @protonLeah COuld you be so kind and explain me step by step. Unfortunately I am absolute beginner
    e.g. write couple lines of code
    Many thanks in advance

    Regards,
    Maciej

  4. #4
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Opening a sheet which name is changing daily

    Hi Macie

    I can think of a couple of ways, but it would be better if you attached a replica workbook with dummy data so we can see what's what

  5. #5
    Registered User
    Join Date
    02-21-2016
    Location
    PL
    MS-Off Ver
    2010
    Posts
    11

    Re: Opening a sheet which name is changing daily

    Hi Philb1,

    Thanks for your email.

    I receive file like this. There is always a mess with sheets. That`s why I can not use Sheets(2).Select

    That`s why I try to select the sheets where "Report_" is fixed and date is floating

    Please check the attachment.

    Many thanks in advance.

    Regards,
    Maciej
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Opening a sheet which name is changing daily

    Please Login or Register  to view this content.

+ 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. Referencing Changing Daily Tabs
    By misterk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-22-2014, 04:11 PM
  2. Replies: 3
    Last Post: 08-20-2014, 12:19 PM
  3. [SOLVED] Perform daily routine without opening Workbook
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-26-2013, 07:02 PM
  4. how to keep recored daily if a cell value is changing daily
    By siddiq1212 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-09-2013, 02:05 PM
  5. daily changing password
    By patilsshree999 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-28-2012, 12:29 PM
  6. Replies: 13
    Last Post: 05-18-2012, 10:53 AM
  7. Refreshing Daily Stock Values Upon Opening Workbook
    By wmfinance in forum Excel General
    Replies: 1
    Last Post: 01-13-2011, 11:16 AM

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