+ Reply to Thread
Results 1 to 11 of 11

need to put Cell value using Vba

  1. #1
    Forum Contributor
    Join Date
    02-19-2014
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    308

    need to put Cell value using Vba

    Hi Guru's

    I have a two cells which can be updated by macro.By running Macro the first cell will be Filled out by macro (I have mentioned in the macro like cell value H12).But in the second cell i need to put 0 for all the rows.I have 1000 of rows in the consolidated sheet.The first cell is filled out by macro.How i can put the oneline code or code modification for the below code.
    Please Login or Register  to view this content.
    Pls help me


    Thanks,
    Lakshmanan

  2. #2
    Forum Contributor
    Join Date
    02-19-2014
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: need to put Cell value using Vba

    Can anyone look and help me out..

    Thanks

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: need to put Cell value using Vba

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  4. #4
    Forum Contributor
    Join Date
    02-19-2014
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: need to put Cell value using Vba

    I have added sample work book and comments in the attached sheet.Pls have a look and help me out
    Attached Files Attached Files

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: need to put Cell value using Vba

    It's .xlsx format. There is no code inside.

  6. #6
    Forum Contributor
    Join Date
    02-19-2014
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: need to put Cell value using Vba

    i have provideded the code for the First post Zbor,Here i just i dont knoe..how to put the cell values after H12..I just wan tput 0 for all the rows As mentioned in the sheet..

  7. #7
    Forum Contributor
    Join Date
    02-19-2014
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: need to put Cell value using Vba

    Hi Zbor,

    Anything needed from my end?

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: need to put Cell value using Vba

    As I say, There is no code inside. I can not test it without a code.

  9. #9
    Forum Contributor
    Join Date
    02-19-2014
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: need to put Cell value using Vba

    This is the sheet which having a Macro..Pls check now and help me
    Attached Files Attached Files

  10. #10
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: need to put Cell value using Vba

    Why don't you write 0 as default?

  11. #11
    Forum Contributor
    Join Date
    02-19-2014
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    308

    Re: need to put Cell value using Vba

    No Zbor,

    Actually we are consolidating all the months data from some other workbooks.Even the first cell mentioned "NA" Value also receving while macro running.So while running macro the The X1 cell of the evermonth values and X2 cell month values need to update parallely.So Is there any code change may impact the values to Zero.
    Like I have tried the code like below but it is not working.Pls correct me..
    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] When one cell equals value of another cell, then third cell displays text of fourth cell?
    By spookymyo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-12-2021, 02:12 PM
  2. If Cell A is equal to Cell B replace the data from Cell A with Cell C. How can I do this.
    By tristanhathaway in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2014, 08:05 PM
  3. [SOLVED] How to create/run "cell A equals Cell B put Cell C info in Cell D
    By abmb161 in forum Excel General
    Replies: 7
    Last Post: 02-05-2014, 02:20 AM
  4. Replies: 1
    Last Post: 11-06-2013, 02:56 AM
  5. Replies: 1
    Last Post: 11-03-2012, 09: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