+ Reply to Thread
Results 1 to 4 of 4

Saving excel sheets to folder - problem with Dim sFile ect

  1. #1
    Registered User
    Join Date
    05-06-2015
    Location
    England
    MS-Off Ver
    2014
    Posts
    71

    Saving excel sheets to folder - problem with Dim sFile ect

    Hi,

    I have a code that needs to unhide a sheet, check that a certain cell has a value, if it does then check another cell for a certain work then save the sheet in to a folder that is called that same word.

    The problem I have it, when I use the

    Please Login or Register  to view this content.
    code to set the cell references, it only sets them for that sheet, therefore saves them all in to the same folder, I have 100 sheets that each need to be sorted in to each folder.

    this is part of the code:


    Please Login or Register  to view this content.

    Could anyone help me to get this to check each sheet rather than just the first sheet?

    Thanks

    Katy

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Saving excel sheets to folder - problem with Dim sFile ect

    You may try:

    Please Login or Register  to view this content.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Registered User
    Join Date
    05-06-2015
    Location
    England
    MS-Off Ver
    2014
    Posts
    71

    Re: Saving excel sheets to folder - problem with Dim sFile ect

    Quote Originally Posted by Izandol View Post
    You may try:

    Please Login or Register  to view this content.
    That doesn't seem to work. I have other sheets in the workbook that I do not want to refer to, I just want to refer to (sheet) up to (sheet (99))

  4. #4
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Saving excel sheets to folder - problem with Dim sFile ect

    Perhaps this:

    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. Saving from excel into PDF Folder
    By scooby89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2016, 05:56 PM
  2. Problem Saving to a specific folder
    By mengghee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-25-2015, 09:30 AM
  3. Reduce processing time for saving excel sheets located in a folder
    By rexer231 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2014, 05:28 AM
  4. Saving File using input from excel sheet (folder and filenames)
    By officedepot in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 01:26 PM
  5. Help with Saving Excel to SharePoint Folder
    By Inez15 in forum Excel General
    Replies: 6
    Last Post: 03-08-2013, 06:59 PM
  6. Replies: 0
    Last Post: 10-10-2012, 03:51 AM
  7. Replies: 0
    Last Post: 07-25-2012, 10:20 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