troubleshooting Question

Assign a value in Excel V-Basic

Avatar of bearblack
bearblackFlag for United States of America asked on
Microsoft OfficeMicrosoft ExcelVBA
3 Comments1 Solution136 ViewsLast Modified:
I assigned a name to a merged cell

    With Report.Range("C8:H8")
        .Name = "Location"
        .ClearContents
    End With
    Range("Location").Value = "Multiple (see below)"

I need to use the value entered to trigger additional code.
Dim Choice as String
    Choice = Report.Range("Location").Value
I keep getting a type mismatch error.

Any help would be appreciated
ASKER CERTIFIED SOLUTION
Wayne Taylor (webtubbs)

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
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 3 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