+ Reply to Thread
Results 1 to 3 of 3

Private is not working consistently

  1. #1
    Registered User
    Join Date
    05-23-2013
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    8

    Private is not working consistently

    I have workbook that contains a public macro, and on one of the spreadsheets within the workbook, there is a private macro. My private macro hides a wordart shape if the value of "F40" is not equal to 0, else the wordart should appear. At first the private macro works, however, when once I execute the public macro, the wordart does not work properly anymore. Will someone help me? Below is the Private and Public macros:

    HTML Code: 

    Please Login or Register  to view this content.
    Last edited by rhouston08; 10-24-2016 at 07:28 PM.

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Private is not working consistently

    Quote Originally Posted by rhouston08 View Post
    once I execute the public macro, the wordart does not work properly anymore.
    Hi,

    I'm afraid that is a somewhat vague statement. Can you explain the precise nature of the problem?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Registered User
    Join Date
    05-23-2013
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Private is not working consistently

    My overall goal is to hide a wordart shape if the value of cell F40 does not equal to 0, otherwise the shape is not hidden. That would be my private macro within a spreadsheet. I also have another macro (which is public) that I use after the private macro is run. The public macro is designed to copy that spreadsheet over into a new workbook, delete the macro, create a new folder if the folder doesn't exist, save that workbook within the folder, then email a recipient that workbook in pdf format.

    The problem is that the private macro works initially, until I run the public macro, after that the wordart remains unhidden even if I change the value of cell F40 to >0.

    If you need a copy of my project, please let me know. Thanks!

+ 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] Conditional Formatting not Working Consistently
    By endly in forum Excel General
    Replies: 5
    Last Post: 06-30-2015, 09:18 PM
  2. Conditional Formatting not working consistently
    By govcam in forum Excel General
    Replies: 4
    Last Post: 04-21-2015, 06:29 PM
  3. [SOLVED] =IF formula not working consistently
    By kazphilips in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-12-2014, 03:19 PM
  4. [SOLVED] COUNTIF not working consistently
    By bishoposiris in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-22-2014, 11:09 AM
  5. [SOLVED] *COUNTIF with nested AND/OR -- not consistently working
    By RandomRed in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2014, 10:26 AM
  6. [SOLVED] VLookup not working consistently
    By pjw23 in forum Excel General
    Replies: 2
    Last Post: 04-27-2012, 03:45 PM
  7. Conditional Formatting Not Working Consistently
    By Christina in forum Excel General
    Replies: 6
    Last Post: 07-22-2005, 07:05 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