Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how do i program a vb script in excel to tell me which cell has f.

I need to write a VB script in excel that tells me which cell has focus.
Here's what I want to happen: I want to click on a cell, then push a
pushbutton that will copy the contents of the cell to another worksheet.

I can copy just fine, I just don't know how to determine which cell to copy.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default how do i program a vb script in excel to tell me which cell has f.

Msgbox Activecell.Address

Regards

Trevor


"ragnarok" wrote in message
...
I need to write a VB script in excel that tells me which cell has focus.
Here's what I want to happen: I want to click on a cell, then push a
pushbutton that will copy the contents of the cell to another worksheet.

I can copy just fine, I just don't know how to determine which cell to
copy.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
script to launch a program from excel calvin Excel Discussion (Misc queries) 4 January 29th 09 09:12 PM
Is there a way to unload the loaded XLL file in Excel? Hi all, I amdebugging XLL link library using Visual C++. Everytime I rebuild the XLL, Ihave to close the whole Excel program and relaunch the Excel program again,and then load in the newly gene LunaMoon Excel Discussion (Misc queries) 0 July 28th 08 11:03 PM
Script to add hyperlink to Excel cell containing text John Doe[_5_] Excel Programming 4 October 11th 04 02:26 AM
Initiate perl script in linux from a Windows VBA program bwreath Excel Programming 0 June 4th 04 05:49 PM
Excel 2000/XP script to Excel97 script hat Excel Programming 3 March 2nd 04 03:56 PM


All times are GMT +1. The time now is 04:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"