troubleshooting Question

Copying selected text (substring) from the ActiveCell

Avatar of Milton Clark
Milton ClarkFlag for United States of America asked on
Microsoft OfficeMicrosoft ExcelMicrosoft Applications
7 Comments1 Solution360 ViewsLast Modified:
I want to write a VBA macro that can be invoked via hot-key combination which takes whatever portion of the text selected within the ActiveCell and copies it.  The macro will then take the copied text and paste it into another cell.

There appear to be two separate challenges:

1. I can't find code that will select and copy just the highlighted text from a cell.

2. If I go into a cell and select some text, it appears that hot-keys are not active, so I have no way to invoke the macro.

Any assistance is greatly appreciated.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros