[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

Get characters in active cell string and name them?

I have a active cell, that I need to return whatever is in the character position 4, 5, and 6 from the left and name it: CH_SurfFinGrp   so I can use it later in a procedure.

How do I tell Excel that I only want these three character position values and put that in a name?
0
RWayneH
Asked:
RWayneH
1 Solution
 
Glenn RayExcel VBA DeveloperCommented:
In VBA:
CH_SurfFinGrp = MID(ActiveCell.Value,4,3)

-Glenn
0
 
RWayneHAuthor Commented:
Good!!  EXCELent!!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now