Closed Thread
Results 1 to 2 of 2

Refering to sheets with Variable Names

Hybrid View

  1. #1
    Registered User
    Join Date
    06-01-2011
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2007
    Posts
    8

    Refering to sheets with Variable Names

    Hello,

    I need help writing my code to work with worksheets that have variable names. In the code below. I want to be able to have it set up to work with any report that contains part of the below titles.


    Windows("Regulatory Report.XLSB").Activate
    Columns("A:A").Select
    Selection.Copy
    Windows("BOReport.XLSX").Activate

    I want to be able to have my areas title their reports with a prefix for identification.
    ex. Area1Regulatory Report or Area1BOReport

    How can I get the code to recoginize a workbook title with a variable prefix?

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Refering to sheets with Variable Names

    Duplicate post due to forum problems
    Thread Closed.

Closed Thread

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