DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: AHK for getting text from Cell in Excel  (Read 16,091 times)

onyxonyx1

  • Participant
  • Joined in 2015
  • *
  • Posts: 1
AHK for getting text from Cell in Excel
« on: January 12, 2015, 10:33 PM »
Hi,
Can you help me to get text from a Cell in Excel?

I tried using GetVisibleWindow text but I cannot get it to get the text from the Cell.

Thankyou

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: AHK for getting text from Cell in Excel
« Reply #1 on: January 13, 2015, 06:29 AM »
Hi, onyxonyx1, and welcome to the DonationCoder site.  :)  Is there any reason you posted this in the NANY 2007 section?

Can you help me to get text from a Cell in Excel?
I tried using GetVisibleWindow text but I cannot get it to get the text from the Cell.

The GetVisibleWindow text isn't going to work for Excel.  You will need to use the COM interface as described here:

http://www.autohotkey.com/board/topic/69033-basic-ahk-l-com-tutorial-for-excel/

Original address: https://www.donationcoder.com/forum/index.php?topic=40006.0