+ Reply to Thread
Results 1 to 2 of 2

Update existing macro that splits a list into worksheets to split into templates instead

  1. #1
    Registered User
    Join Date
    06-18-2014
    Location
    England
    MS-Off Ver
    MS Pro 2010
    Posts
    6

    Update existing macro that splits a list into worksheets to split into templates instead

    Hi,

    I hope the above subject isn't too confusing.

    I have managed to find and doctor a code that splits a long list into account specific lists in their own worksheets that are named as the unique entry - account number. My problem now is that instead of opening the default blank worksheet for each accounts worksheet, I would like to open a saved template so that each worksheet contains formula to manipulate the data and is formatted with font/colour etc.

    I have tried amending the code I have with another code to open templates (the open template code works fine by itself) but am getting error messages.

    has anybody got any ideas how I can do this?

    this is my first post on here- hope I have pasted the code so you can read it ok.

    Thanks,
    Graeme

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Update existing macro that splits a list into worksheets to split into templates inste

    I don't expect that opening a template is any different than opening a workbook, is it?

    You didn't specify what your errors were. Perhaps a problem with keeping track of which workbook you're working with? When you open a workbook, it becomes the ActiveWorkbook. To refer to the original workbook, use ThisWorkbook as the expression. Utilization of the "With" statement may be helpful. Then it's just a matter of appropriate use of periods. For example:

    Please Login or Register  to view this content.
    Hope that helps.
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

+ 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. update list with specific cell values in uncreate sheets (templates)
    By dmendes in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-19-2013, 03:48 AM
  2. VB FIND works properly for First Split in Array, but not Subsequent Splits
    By karimifarzan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2013, 05:54 PM
  3. Update an existing SharePoint list within Excel using VBA
    By Snoopy2003 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-31-2011, 07:20 PM
  4. Split up existing worksheet into worksheets via macros
    By undergraduate in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2010, 01:25 AM

Tags for this Thread

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