+ Reply to Thread
Results 1 to 2 of 2

Dynamically changing named range

  1. #1
    Registered User
    Join Date
    05-12-2009
    Location
    Cincinnati
    MS-Off Ver
    Excel 2007
    Posts
    5

    Dynamically changing named range

    I have a spreadsheet with the column headers in row 3 (it is generated on a daily basis so I cannot change how it is sent to me). I have to take this daily and delete the top 2 rows before I can import into Access, what I would like to do instead is have a macro that will just create a named range.

    The spreadsheet will always have the column headers in row 3. The columns extend out to column Y (25) however the number of rows will vary depending on how far into the month we are (beginning of the month its empty and will grow as the month continues).

    Any help is greatly appreciated!

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Dynamically changing named range

    Saved to your Personal.xls and used when needed:

    Please Login or Register  to view this content.
    Change name ("Mydata") to suit.
    Number of rows to return is based on count of used rows on Column-A

+ Reply to 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