+ Reply to Thread
Results 1 to 3 of 3

Macro to recognise two filetypes for formatting

  1. #1
    Registered User
    Join Date
    06-07-2013
    Location
    Cheltneham, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Macro to recognise two filetypes for formatting

    Hi Excel Gurus,

    I have 2 file types = .tss and .ptr,
    The files are open at the same time in excel for several formatting applications to take place.
    I really need a macro that will be able to undergo several formatting obsticals in the .ptr book then copy them over into the .tss workbook.

    can you help me with create a macro that can distinguish the .ptr from the .tss?

    I know this is a very big ask but I am at your mercy and am always very appreciative of any advice!
    Last edited by TulipandRoses; 06-07-2013 at 07:20 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Macro to recognise two filetypes for formatting

    Activeworkbook.FullName and Instr
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    06-07-2013
    Location
    Cheltneham, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Macro to recognise two filetypes for formatting

    wow.... really!! ah i was so close! Thank you for the help! I really appreciate it! have a lush weekend!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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