+ Reply to Thread
Results 1 to 4 of 4

runtime error 1004 numberformat of range

  1. #1
    Registered User
    Join Date
    10-16-2014
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    2

    Exclamation runtime error 1004 numberformat of range

    Hi Excel Forum,

    I have just recently started learning about vba and macros.

    Currently, I am creating a macro to auto-input a date & time stamp(on a2) once another value has been placed on another cell(b2), with the help of a video from Youtube I am able to make the idea partly work.

    I am encountering an error: "runtime error 1004 numberformat of range"

    here is my macro(on "worksheet" & "change" dropdown):

    Please Login or Register  to view this content.

    Any corrections & suggestions to make my sheet work will be great!

    #Edit:

    By the way the sheet is unlocked.
    Last edited by alansidman; 10-24-2014 at 11:16 AM. Reason: Additional Info

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: runtime error 1004 numberformat of range

    Please use code tags with your code as per forum's rule.

    Please Login or Register  to view this content.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,706

    Re: runtime error 1004 numberformat of range

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    10-16-2014
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    2

    Re: runtime error 1004 numberformat of range

    Will do! Excuse the non-compliance to the rules, will read it.

+ 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] VBA Error: Runtime Error 1004: AutoFilter method of Range class failed
    By jl22stac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2013, 07:27 PM
  2. [SOLVED] Range error in code, runs alone but not inside my full program, giving runtime error 1004
    By charizzardd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-23-2012, 03:34 PM
  3. Range - Runtime Error 1004
    By punter1000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2011, 11:33 PM
  4. Runtime Error '1004' At Range Selection
    By Anubeon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2009, 10:47 AM
  5. [SOLVED] Runtime Error 1004 on selecting range
    By MaltzMD in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-22-2005, 11:05 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