+ Reply to Thread
Results 1 to 3 of 3

Useonly left column of Selection

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Excel 2016 Office 365 64-Bit
    Posts
    3,423

    Useonly left column of Selection

    In a macro I have the following segment of code for my user to select a column to use to rename files. My problem is later, when I use the MyFiles value, I only want to use the values in the left column, which SHOULD be what the user selected, but they often choose both columns. How do I alter to only accept the left column?
    Please Login or Register  to view this content.
    I know I'm not stupid, but I suspect I'm a lot stupider than I think I am

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: 2019 but still use also older versions
    Posts
    7,602

    Re: Useonly left column of Selection

    Please try:
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Excel 2016 Office 365 64-Bit
    Posts
    3,423

    Re: Useonly left column of Selection

    I tried it, testing by selecting both columns, and it bombed. maybe it'll help if I post the whole macro as it exists now.

    Please Login or Register  to view this content.

+ 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. Replies: 6
    Last Post: 06-26-2017, 09:04 PM
  2. Autopopulate multiple columns based on dropdown selection in far left column
    By tinaascoggins in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-02-2014, 12:29 PM
  3. [SOLVED] Relative Selection based on column to the left
    By Shawn Michaels in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-06-2012, 12:12 PM
  4. [SOLVED] Left Align Across Selection
    By Phoenix5794 in forum Excel General
    Replies: 16
    Last Post: 09-10-2012, 04:51 PM
  5. Fill cells based on selection from a drop down on left
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2011, 04:58 AM
  6. Select column cells to the left/right of active selection - an example
    By aztecbrainsurgeon@yahoo.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2005, 03:06 PM
  7. Left Align, selection margin
    By Candee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2005, 07:59 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