+ Reply to Thread
Results 1 to 5 of 5

increasing the size of a named range and saving it back to the spreadsheetI

  1. #1

    increasing the size of a named range and saving it back to the spreadsheetI

    Hi, I have figured out how to increase the range: Set tRange =
    Range("Print_Area").Resize(, 1 + Range("Print_Area").Columns.Count).

    But now that I have my new range, how can i save the spreadsheet and
    save the new range?

    Thanks.


  2. #2
    Rick Hansen
    Guest

    Re: increasing the size of a named range and saving it back to the spreadsheetI

    Ross Try

    Range("Print_Area").Resize(, 1 + Range("Print_Area").Columns.Count).Name =
    "RangeName"

    enjoy , Rick


    <[email protected]> wrote in message
    news:[email protected]...
    > Hi, I have figured out how to increase the range: Set tRange =
    > Range("Print_Area").Resize(, 1 + Range("Print_Area").Columns.Count).
    >
    > But now that I have my new range, how can i save the spreadsheet and
    > save the new range?
    >
    > Thanks.
    >




  3. #3

    Re: increasing the size of a named range and saving it back to the spreadsheetI

    Thanks for the replay.

    I added the code but nothing seemed to happen. I did a saveas and
    checked the page break view and it was the same. the behavior is either
    the new print range didn't save or the print range didn't change. Not
    sure. This has turned out to be remarkably difficult task. All i wanted
    to do was add a column to an existing print range (called Print_Area)
    and save it back to a different file name. Whew.

    Rick Hansen wrote:
    > Ross Try
    >
    > Range("Print_Area").Resize(, 1 + Range("Print_Area").Columns.Count).Name =
    > "RangeName"
    >
    > enjoy , Rick
    >
    >
    > <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi, I have figured out how to increase the range: Set tRange =
    > > Range("Print_Area").Resize(, 1 + Range("Print_Area").Columns.Count).
    > >
    > > But now that I have my new range, how can i save the spreadsheet and
    > > save the new range?
    > >
    > > Thanks.
    > >



  4. #4

    Re: increasing the size of a named range and saving it back to the spreadsheetI

    By the way, is the name 'Print_Range" standard or something that was
    made up. I inheired this code so i don't know


  5. #5

    Re: increasing the size of a named range and saving it back to the spreadsheetI

    I messed up and missed the last "Range_Name" it works!!!!!!

    Thanks


+ 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