+ Reply to Thread
Results 1 to 2 of 2

Leave Entry Excel Sheet - Need help with VB Macro debugging

  1. #1
    Registered User
    Join Date
    08-29-2019
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    9

    Leave Entry Excel Sheet - Need help with VB Macro debugging

    Dear all,

    I have this Leave entry excel sheet done using VB Macro.

    But when I try to save a record, I get the following error:

    .Cells(ContRow, ContCol).Value = .Range(.Cells(11, ContCol).Value).Value


    Does anyone know how to resolve this error?

    The Excel document is saved with this post.

    Thanks in anticipation for your help!
    Attached Files Attached Files

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Leave Entry Excel Sheet - Need help with VB Macro debugging

    Hi there,

    The following version of your code seems to "work" (insofar as no error messages are generated) but, as I'm not sure of what your precise requirements are, it may require further modification by yourself:

    Please Login or Register  to view this content.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

+ 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. Excel entry in a sheet auto entry to another sheet
    By Rajesh_Tup in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2018, 02:35 AM
  2. Replies: 2
    Last Post: 05-12-2016, 03:08 AM
  3. How can I view the values of variables while I am debugging a macro in excel 2011
    By donalddeakin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2016, 11:48 AM
  4. Form for data entry for leave & training tracker
    By jon.krug in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-23-2012, 01:25 PM
  5. Windows 7 :Windows 7 keeps closing Excel during macro debugging
    By zero212 in forum Microsoft Windows Help
    Replies: 2
    Last Post: 03-02-2011, 08:40 AM

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