+ Reply to Thread
Results 1 to 7 of 7

Can I use the asterisk (*) wildcard to save file in multiple PATH ???

  1. #1
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    818

    Can I use the asterisk (*) wildcard to save file in multiple PATH ???

    Hello All,
    Can I use the asterisk (*) wildcard to save the file in multiple PATH as long as it the file is in the master drive C:

    ex: the file now is in "C:\Public\" then can I use "C:\Public\*" so user can save file at their desire sub-folder such as "C:\Public\Henry" as long as it has to be in drive C


    Regards,
    tt3

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,646
    No.

    To save a file you need to specify the full path and filename.
    If posting code please use code tags, see here.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Can I use the asterisk (*) wildcard to save file in multiple PATH ???

    No, SaveAs, Name As, FileCopy, ... will save the file only to a single folder.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    818

    Re: Can I use the asterisk (*) wildcard to save file in multiple PATH ???

    Thank you very much for yourr reponse. My question was wrong and sorry.

    User can save, save as at any sub folder at user desire as long as it's in Drive C then user can open their file. If they try to save outside of Drive C then they can not open it.
    I have code in WB open:
    Please Login or Register  to view this content.
    Is there a way to do this?
    Regards,
    tt3

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Can I use the asterisk (*) wildcard to save file in multiple PATH ???

    Please Login or Register  to view this content.
    Of course, the user can disable macros and use the workbook anyway.

  6. #6
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    818

    Re: Can I use the asterisk (*) wildcard to save file in multiple PATH ???

    Hi shg,
    Thank you very much. This look like the one I'm looking for but I need to test it more.

    PHP Code: 
    Of coursethe user can disable macros and use the workbook anyway
    How user can disable macro?
    I want user use it as long as user save it in the Drive C. Let say if user say it in Drive D then user can not open the wb.

    Regards,
    tt3

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Can I use the asterisk (*) wildcard to save file in multiple PATH ???

    Users must explicitly enable macros in order for them to run, unless they have their security settings set to enable all macros, which is an invitation to heartache and disaster.

+ 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. Ignoring asterisk * (wildcard) in Excel Custom Lists
    By haitch4 in forum Excel General
    Replies: 1
    Last Post: 05-21-2013, 09:33 AM
  2. [SOLVED] autofill a range with a formula that uses a wildcard (asterisk)
    By perducci in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-02-2012, 01:34 PM
  3. [SOLVED] Asterisk Wildcard in IF statement problem
    By shaft in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-18-2012, 08:52 PM
  4. [SOLVED] problem with using asterisk as wildcard in conditional formatting
    By nsterng1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-30-2012, 01:34 PM
  5. Asterisk as WildCard
    By yawnzzzz in forum Excel General
    Replies: 1
    Last Post: 04-14-2010, 09:08 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