+ Reply to Thread
Results 1 to 4 of 4

How to make VBA read value in cell

  1. #1
    Registered User
    Join Date
    04-28-2016
    Location
    USA
    MS-Off Ver
    office 365
    Posts
    26

    Question How to make VBA read value in cell

    I have am writing a code, but I would like the code to read the value in the cell.

    For Example, instead of putting 3 in "ActiveChart.SeriesCollection(1).Points("3").Select" I would like to put the value 3 in a cell, A1=3.

    Here is my current code.

    Please Login or Register  to view this content.

    Thanks,

    Ehizzle

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,246

    Re: How to make VBA read value in cell

    Try:
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    04-28-2016
    Location
    USA
    MS-Off Ver
    office 365
    Posts
    26

    Re: How to make VBA read value in cell

    You nailed it TMS, thank you very much for your help!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,246

    Re: How to make VBA read value in cell

    You're welcome. Thanks for the rep.




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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] Make a Cell read only
    By rana19 in forum Excel General
    Replies: 2
    Last Post: 10-12-2015, 08:41 AM
  2. [SOLVED] How to Make a Cell Read only depending upon Value of another cell
    By nav_nav2000 in forum Excel General
    Replies: 2
    Last Post: 11-19-2013, 02:41 AM
  3. how do you make a cell read only the decimal
    By bansot in forum Excel General
    Replies: 3
    Last Post: 07-01-2013, 01:45 PM
  4. Open in read-only, make changes, and back to read-only??
    By questionguy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2012, 01:00 PM
  5. How to make a macro run only if not READ ONLY
    By jgriffith in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2011, 09:16 AM
  6. [SOLVED] how to make cell read only
    By ndalal in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-26-2009, 03:52 AM
  7. [SOLVED] How to make a cell read only
    By Little Master in forum Excel General
    Replies: 1
    Last Post: 10-29-2005, 09:05 AM

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