+ Reply to Thread
Results 1 to 3 of 3

Select Range based on COmboBox selections

  1. #1
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Select Range based on COmboBox selections

    Why Does VBA hate this syntax?

    Sheets("Summary").Range(Cells(TStart, 1), Cells(TEnds, 1)).Select

    I use it, it works once and then try and use it again and Run Time Error Application Defined Error Object Error. I'm kind of lost

    Really all I'm trying to do is be able to select the range start and end based on Combobox selections so combo box 1.value = TStart, ComboBox TEnds = End.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Select Range based on COmboBox selections

    See if this works?
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: Select Range based on COmboBox selections

    This works, but I have no earthly idea why. Further Why would the other way work initially and then come to a screaming halt. It's really bizarre

+ 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. VBA code to find and delete cell contents based on userform combobox selections
    By anfdrew in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2013, 04:13 PM
  2. [SOLVED] Excel Userform: Populate other controls (i.e. textbox & combobox) based on combobox select
    By MileHigh_PhD in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2013, 04:50 PM
  3. [SOLVED] Changeing Combobox Colors based on other combobox selections
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2012, 11:42 AM
  4. [SOLVED] ComboBox Selections to Preview in ListBox before posting to Range
    By lumin30 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2012, 10:44 AM
  5. Pasting cell range to make selections from existing combobox listings
    By darmstrong in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-21-2007, 09:48 AM

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