+ Reply to Thread
Results 1 to 2 of 2

Renaming cell in sheet 2:n from range in sheet1

  1. #1
    Registered User
    Join Date
    01-09-2013
    Location
    Helsingborg, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    47

    Renaming cell in sheet 2:n from range in sheet1

    Hello!

    Iv been looking for a solution to a specific task, and have come upp empty.

    I have a Main sheet wich has a list in range AF7:AF999, The range varies as it is autogenerated from folder dir.

    I have a macro that then autogenerates n number of sheets as a copy of sheet 2 and renames them from a second list.
    As the sheets are autogenerated i would like to rename the header, in this case cells B1:I2 (Merged cells) from the list in range AF7 and down, in the order they are created. for example

    List in range AF7 and down might be

    Bike
    Car
    Plane

    The first copy of sheet 2 that is auto generated should in cell B1:I2 Have the value "Bike"
    Second Sheet should have "Car"
    and so on. Would be nice to have this in the code that aoutgenerates the sheets.

    The code is as follows.

    Please Login or Register  to view this content.

    Many thanks!

  2. #2
    Registered User
    Join Date
    01-09-2013
    Location
    Helsingborg, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Renaming cell in sheet 2:n from range in sheet1

    Found Solution for my problem by adding

    Please Login or Register  to view this content.
    As the main Range is on AD7 and the range i want for B1 in every new sheet is 2 steps to the right in AF7.

    Cheers!

+ 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. Renaming sheet3 to sheet1 not enough!
    By clayton in forum Excel General
    Replies: 3
    Last Post: 11-24-2006, 04:44 PM
  2. Putting Sheet Names in a range and renaming it?
    By Steve in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 03:05 AM
  3. [SOLVED] Putting Sheet Names in a range and renaming it?
    By Steve in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 02:05 AM
  4. Putting Sheet Names in a range and renaming it?
    By Steve in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 12:05 AM
  5. Putting Sheet Names in a range and renaming it?
    By Steve in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-05-2005, 10:05 PM

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