+ Reply to Thread
Results 1 to 4 of 4

Create new sheet from template, auto fill from index sheet and hyperlink

  1. #1
    Forum Contributor
    Join Date
    01-21-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    258

    Create new sheet from template, auto fill from index sheet and hyperlink

    Good Afternoon All,

    I'm trying to create a workbook that takes the data from the selected row and creates a new worksheet based on a template sheet with the details from that row. It would also create a hyperlink from that row to the new sheet.

    I've seen a couple of similar threads but each one has it's own twist and being rubbish at macros I find them very difficult to edit.

    Any help would be greatly appreciated. I've attached the draft workbook for you to see. It has the index page to get the data from, the template page and 'Box 1' is an example of what the sheet would look like completed.

    Many thanks in advance for any help!

    R
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-21-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    258

    Re: Create new sheet from template, auto fill from index sheet and hyperlink

    Update

    This is what I've got macro wise so far
    Please Login or Register  to view this content.
    My problem is that I can't find a way to set 'RowNo' as the active cell row from the index sheet. Does anyone know how I can do this? I think if I can set that right then this should work fine. I'd just need to be able to create a hyperlink in Column A of the activerow to the newly created sheet.

  3. #3
    Forum Contributor
    Join Date
    01-21-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    258

    Re: Create new sheet from template, auto fill from index sheet and hyperlink

    Update.

    I've managed to get the macro to create the new sheet with the correct name and insert a hyperlink to it. But the hyperlink doesn't work. Not sure if this is because it automatically replaces spaces with %20 (hex or something) Sub Create_sheet()

    Please Login or Register  to view this content.
    Could maybe use something like this to try stop it, but I have no idea if it would work and no idea how to work it into the code. If anyone knows how to hyperlink this correctly that would be great!

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    01-21-2013
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    258

    Re: Create new sheet from template, auto fill from index sheet and hyperlink

    Managed to get it working.

    Code if anyone needs it.

    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. Replies: 5
    Last Post: 06-08-2013, 06:20 AM
  2. Create a master sheet to auto fill many documents.
    By citadel-maritime in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-26-2013, 02:19 AM
  3. Summarize Sheets onto one Sheet / Create New Sheet from Template with Button
    By albizzundy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-12-2013, 01:33 PM
  4. [SOLVED] Enter a name to Create a new sheet with a template and sheet name is the person's name
    By Kram222 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-11-2012, 09:55 PM
  5. Replies: 3
    Last Post: 05-27-2010, 10:57 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