+ Reply to Thread
Results 1 to 6 of 6

For each loop to create and name worksheets

Hybrid View

AlvaroSiza For each loop to create and... 04-28-2011, 11:19 AM
StephenR Re: For each loop to create... 04-28-2011, 11:23 AM
AlvaroSiza Re: For each loop to create... 04-28-2011, 11:52 AM
StephenR Re: For each loop to create... 04-28-2011, 11:54 AM
AlvaroSiza Re: For each loop to create... 04-28-2011, 12:09 PM
StephenR Re: For each loop to create... 04-28-2011, 12:19 PM
  1. #1
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: For each loop to create and name worksheets

    What information do you want to show in A2-A5?

  2. #2
    Valued Forum Contributor AlvaroSiza's Avatar
    Join Date
    09-19-2007
    Location
    Staffordshire
    MS-Off Ver
    2007
    Posts
    591

    Re: For each loop to create and name worksheets

    Quote Originally Posted by StephenR View Post
    What information do you want to show in A2-A5?
    The corresponding data in Columns B & C.

    I added

    ws.Range("A2").Formula = "=VLOOKUP(A1,EmpNameRange,2,0)"
    After your:
    ws.Range("A1") = r
    ...which works just fine. I think you have me all set for now, Stephen. Thanks for taking the time to help me. Stay well!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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