+ Reply to Thread
Results 1 to 2 of 2

Column range selection

  1. #1
    Registered User
    Join Date
    05-05-2015
    Location
    Singapore
    MS-Off Ver
    Windows 10
    Posts
    1

    Column range selection

    I am trying to automate a line chart to include new rows of data added in a column (from cell H11) using this VBA command:
    ActiveChart.FullSeriesCollection(1).Values = _
    ActiveSheet.Range("H11").End(xlDown).Select

    However I keep getting an error >> Run-time error '91':Object variable or With block variable not set

    Please help.

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Column range selection

    Not sure if this will solve the problem, but I don't think the _ (underscore) after the Values = line should be there.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

+ 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. [SOLVED] Variable column range, based on current selection, for sorting columns
    By kshelmidine in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2014, 11:46 AM
  2. Create a code for offsetting range selection by 1 column
    By amartino44 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2013, 12:56 PM
  3. Replies: 3
    Last Post: 07-24-2012, 10:35 AM
  4. cell selection in a given column range ?
    By cantabile in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2007, 10:09 PM
  5. [SOLVED] Moving Range Selection Right One Column at a Time
    By TexDad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-17-2005, 03:30 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