Results 1 to 12 of 12

Macros To Save Worksheet as New xlsx file & Save Another Worksheet As A Text File

Threaded View

  1. #1
    Registered User
    Join Date
    11-05-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    13

    Question Macros To Save Worksheet as New xlsx file & Save Another Worksheet As A Text File

    Assistance appreciated please.

    I’m looking for a couple of macros to do the following on a worksheet as per the attached example, ExampleData_04.xlsx:-

    Macro 1 – To save the sheet “Data Sheet” as a new xlsx file with values and formatting, and use the name taken from cell C8 on the “Reference “ sheet for the filename. The “Data Sheet” sheet will be of variable length and will include blank rows.

    Macro 2 – To save the contents of column A in sheet “Config” down to the last row that is used, into a text file using the name taken from cell C6 on the “Reference” sheet for the filename. The “Config” sheet will be of variable length up to approx 3000 rows and will include blank rows.

    I believe that this can be done using shell commands but this is not something that I have experience of. Any help would be greatly appreciated.

    Thanks

    Keith
    Attached Files Attached Files
    Last edited by KeithT; 11-16-2011 at 05:15 PM.

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