+ Reply to Thread
Results 1 to 4 of 4

Object defined error with Cells.Formula

  1. #1
    Registered User
    Join Date
    11-14-2019
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    32

    Object defined error with Cells.Formula

    Hi
    I can't figure out why I'm getting object defined error with Cells.Formula on the last row but not on the one above it.
    Using a table [WorkDays] and changing formulas of the last row. Formula = "=[@Pvm]" works but the largest one doesn't

    there are plenty of columns in the table, including all the ones named in the formula. The formulas are copied from the current ones in the table so shouldn't be a problem there?

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    11-14-2019
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    32

    Re: Object defined error with Cells.Formula

    note: I have a lot of these .formulas in the code, some work and some dont

  3. #3
    Registered User
    Join Date
    11-14-2019
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    32

    Re: Object defined error with Cells.Formula

    I figured it out. If anyone else is having this problem, you should know that against all logic you have to replace ; with , even though it's inside " "

  4. #4
    Registered User
    Join Date
    11-14-2019
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    32

    Re: Object defined error with Cells.Formula

    NEW PROBLEM:

    Why does this row not work?
    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. [SOLVED] Formula, VBA, Run-time error 1004 - Application-defined or object-defined error
    By dude6571 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-05-2019, 07:54 AM
  2. Replies: 1
    Last Post: 03-12-2014, 12:42 PM
  3. Application-defined or object-defined error with vba .formula
    By RogerKMiller in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-26-2013, 03:37 PM
  4. [SOLVED] Error 1004: Application-defined or object-defined error on Range(Cells(x,y)) syntax
    By winch in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-04-2013, 11:02 AM
  5. [SOLVED] application-defined/object-defined error 1004 when trying to read from or write to cells
    By florin_excel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-30-2012, 08:38 AM
  6. Application-defined or Object-defined error on Formula entry
    By Kaigi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-12-2009, 01:33 PM
  7. Replies: 3
    Last Post: 07-24-2006, 08:20 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