+ Reply to Thread
Results 1 to 3 of 3

VBA Project Macro Create Button is Greyed out

  1. #1
    Registered User
    Join Date
    05-16-2022
    Location
    Downey
    MS-Off Ver
    Microsoft Office 2024
    Posts
    4

    VBA Project Macro Create Button is Greyed out

    I have a VBA Project that I want to create a update module Macro. When run my VBA project and I go to macros my create chose is greyed out. Here’s an example of what I want to do. See want I want to change in red.
    Sub Top10Mega4()

    If (Range("G11").Value = 9) Then

    Range("AS6").Select
    ActiveCell.Value = ("1")

    ElseIf (Range("G11").Value = 6) Then (Change 6 to a 9)

    Range("AS6").Select
    ActiveCell.Value = ("1")

    ElseIf (Range("G11").Value = 24) Then Then (Change 24 to a 10)

    Range("AS6").Select
    ActiveCell.Value = ("1")

    ElseIf (Range("G11").Value = 11) Then

    Range("AS6").Select
    ActiveCell.Value = ("1")

    End If
    End Sub

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    7,999

    Re: VBA Project Macro Create Button is Greyed out

    It would be easier to help if you could attach a copy of your file so we could see how your data is organized and test possible solutions. Explain in detail what you want to do referring to specific cells, rows, columns and sheets using a few examples from your data (de-sensitized if necessary). See the yellow banner at the top of this page for instructions to attach a file.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    05-16-2022
    Location
    Downey
    MS-Off Ver
    Microsoft Office 2024
    Posts
    4

    Re: VBA Project Macro Create Button is Greyed out

    Right now all I want to know is why the create button would be greyed out?

+ 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. Macro Button on Quick Access Toolbar Greyed Out
    By Nachtschade in forum Excel General
    Replies: 3
    Last Post: 09-30-2021, 05:16 PM
  2. Replies: 10
    Last Post: 05-22-2018, 03:04 PM
  3. [SOLVED] Opening a ms project file via macro button
    By jrdunn78hawk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-15-2012, 05:33 AM
  4. create button greyed in macro dialogue
    By telstrareg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-23-2008, 09:25 PM
  5. [SOLVED] How do I delete a macro in Excel 2003? Button is greyed out.
    By MG in forum Excel General
    Replies: 3
    Last Post: 08-16-2006, 07:25 PM
  6. [SOLVED] Macro Relative reference button greyed out.
    By J Shrimps, Jr. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-08-2006, 11:40 PM
  7. Trust access to visual basic project greyed out
    By Amit Shanker in forum Excel General
    Replies: 2
    Last Post: 03-05-2005, 06:06 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