+ Reply to Thread
Results 1 to 9 of 9

"open-ended" format macro

  1. #1
    Registered User
    Join Date
    12-27-2012
    Location
    Greece, NY
    MS-Off Ver
    365
    Posts
    59

    "open-ended" format macro

    Hi,

    I want to create a macro that gets me to the Custom Color window of Format Cells, then leaves me there in order to make my color selection. I don't know how to stop recording the steps at that point, or if it's even possible.

    Help please

    Excel 2010 Professional
    Win 7Prof, 64 bit

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: "open-ended" format macro

    Maybe I'm thinking too simply, but...?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-27-2012
    Location
    Greece, NY
    MS-Off Ver
    365
    Posts
    59

    Re: "open-ended" format macro

    I'll give it a try and let you know.

  4. #4
    Registered User
    Join Date
    12-27-2012
    Location
    Greece, NY
    MS-Off Ver
    365
    Posts
    59

    Re: "open-ended" format macro

    I realize I need one more step: I want to end up in the More Colors window.

  5. #5
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: "open-ended" format macro

    How's this?

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    12-27-2012
    Location
    Greece, NY
    MS-Off Ver
    365
    Posts
    59

    Re: "open-ended" format macro

    It's good, but when I got to it, I realized that where I really need to be is on the Custom tab. Willing to make the third time the charm? Sorry for not being clear about where I want to end up.

  7. #7
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: "open-ended" format macro

    Third time is a LOT more difficult, it seems. I struck out for a while before finding a solution crafted by a far more capable colormaster. To give credit where it's due, pretty much all of the heavy lifting here was pulled from an outside post by vba_corner. All three of the pieces below will need to be included, but the Sub you'll want to call is named CustColor().

    Please Login or Register  to view this content.

  8. #8
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: "open-ended" format macro

    And of course I immediately find a shorter version...

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    12-27-2012
    Location
    Greece, NY
    MS-Off Ver
    365
    Posts
    59

    Re: "open-ended" format macro

    Perfect!

    Thank you SO much.

+ 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] Excel 2010 -- "Visual Basic" "Macros" and "Record Macro" all disabled.
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2017, 06:11 AM
  2. Activating unsaved open workbook using "if "name" like "name" satement
    By joshuarobbins in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2015, 11:17 AM
  3. [SOLVED] Must open and close UserForm twice for the other codes in the "Open..." Macro to execute
    By tnuis in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-10-2013, 09:28 AM
  4. Replies: 0
    Last Post: 09-09-2013, 12:30 PM
  5. Date format of just "st" "nd" "rd" and "th" with text included
    By notrandom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2013, 05:45 PM
  6. How can i copy value from "HTMLText"(EMBED("Forms.HTML:Text","")),using Macro
    By andrewyang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2010, 12:47 AM
  7. Replies: 0
    Last Post: 01-04-2006, 06:55 PM

Tags for this Thread

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