+ Reply to Thread
Results 1 to 17 of 17

fill in value of a cell in another cell on a different sheet if value meant

  1. #1
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    fill in value of a cell in another cell on a different sheet if value meant

    I am looking for VBA or a formulat that basically if D3=Connect then copy the value in B3 to the next open cell in column D of Sheet xxxx starting on row 3.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: fill in value of a cell in another cell on a different sheet if value meant

    Maybe
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: fill in value of a cell in another cell on a different sheet if value meant

    will this paste to a separate sheet? I only ask cuz i dont' see where in the code it goes to another sheet. but i am new and ignorant so i am prob wrong.

  4. #4
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: fill in value of a cell in another cell on a different sheet if value meant

    Here

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: fill in value of a cell in another cell on a different sheet if value meant

    When I enter the code it highlits the word worksheet and sub or function not defined.

  6. #6
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: fill in value of a cell in another cell on a different sheet if value meant

    change xxxx to your worksheet name

  7. #7
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: fill in value of a cell in another cell on a different sheet if value meant

    I did that. also will this work on multiple rows?

  8. #8
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: fill in value of a cell in another cell on a different sheet if value meant

    My bad. I just wrote the code without testing. There was a typo; it should be worksheets( not worksheet(
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: fill in value of a cell in another cell on a different sheet if value meant

    Thanks alot. I really appreciate it. now I am getting a type mismatch error?

  10. #10
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: fill in value of a cell in another cell on a different sheet if value meant

    Can you post your file?

  11. #11
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: fill in value of a cell in another cell on a different sheet if value meant

    I would but I don't now how to compress it so its small enough.

  12. #12
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: fill in value of a cell in another cell on a different sheet if value meant

    How about a sample file?

  13. #13
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: fill in value of a cell in another cell on a different sheet if value meant


  14. #14
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: fill in value of a cell in another cell on a different sheet if value meant

    You were using a range. If you change the range to just individual cell reference, the error disappears.

    change your code to
    Please Login or Register  to view this content.

  15. #15
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: fill in value of a cell in another cell on a different sheet if value meant

    A-SHIFT MONTHLY SAFE CARD COUNT.xlsmok its working now sort of. I need it to work for all the cells in range c3-c20 and the current code only returns the value of B3 in the T LINE HEAT sheet.

  16. #16
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: fill in value of a cell in another cell on a different sheet if value meant

    is there a way to make it work within a range?

  17. #17
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    Re: fill in value of a cell in another cell on a different sheet if value meant

    Does anyone know how to make this work within a range

+ 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. Auto fill static cell on separate sheet based on changing cells in another sheet
    By lawrence24 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-15-2014, 12:31 PM
  2. Replies: 18
    Last Post: 02-23-2014, 07:02 PM
  3. look up on sheet 1 match data sheet 2 and fill in cell on first sheet
    By treborharris in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-28-2013, 01:01 PM
  4. [SOLVED] VBA referring to a different sheet, automatically fill cell based on content of other cell
    By mweick in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 02-06-2013, 11:50 AM
  5. Replies: 1
    Last Post: 09-24-2009, 01:24 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