+ Reply to Thread
Results 1 to 3 of 3

Date formula producing error when used in macro

  1. #1
    Forum Contributor
    Join Date
    12-18-2011
    Location
    long island
    MS-Off Ver
    365
    Posts
    236

    Date formula producing error when used in macro

    Hello,

    I have the following code:

    Please Login or Register  to view this content.
    Which works fine when my dates in A3:AR3 are values. However, I get error when I replace my dates with "=EOMONTH(TODAY(), 0)"

    And idea why?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,380

    Re: Date formula producing error when used in macro

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    12-18-2011
    Location
    long island
    MS-Off Ver
    365
    Posts
    236

    Re: Date formula producing error when used in macro

    See attached. Had to trim the file down a bit to upload.
    Attached Files Attached Files

+ 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. Help: DAX Formula Error - Producing same value all the way down column
    By tbucki1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-27-2017, 12:06 PM
  2. Formula not producing any count for yesterday date
    By narsing18 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-18-2017, 06:49 AM
  3. Vlookup Producing Error Codes
    By Bedmunds in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-17-2015, 07:40 AM
  4. [SOLVED] Syntax producing an error
    By paradise2sr in forum Excel General
    Replies: 7
    Last Post: 05-25-2014, 12:13 PM
  5. loop that keeps producing a next without for error
    By Sc0tt1e in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 03-26-2014, 04:49 AM
  6. VBA code suddleny producing an error
    By drgogo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2010, 07:18 AM
  7. recorded macro for pagesetup producing error
    By suprme32excel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2009, 05:51 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