Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2019, 01:25 AM
macropod's Avatar
macropod macropod is offline If condition not working. Windows 7 64bit If condition not working. Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,382
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

So how is the displayed name, which is equivalent to .Range.Text, any different from Split(StrDetails, "|")(0)? Where does StrDetails come from?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 06-15-2019, 01:43 AM
jhansrod jhansrod is offline If condition not working. Windows 10 If condition not working. Office 2016
Novice
If condition not working.
 
Join Date: Jun 2019
Posts: 16
jhansrod is on a distinguished road
Default

The dropdown list for the ContentControl has the following :
Code:
Display Name   Value
OFFICE01       OFFICENAME1|Address 1L1;Address 1L2;Address 1L3
OFFICE02       OFFICENAME2|Address 2L1;Address 2L2;Address 2L3
The DropDownList will have the relevant office code whilst Split(StrDetails, "|")(0) will have the full name.
Reply With Quote
Reply

Tags
if then else;case



Similar Threads
Thread Thread Starter Forum Replies Last Post
If condition related query... LearnerExcel Excel 1 03-12-2018 01:37 AM
If condition not working. How to use if condition to for this ... LearnerExcel Excel 1 12-19-2016 02:14 PM
If condition not working. Use Two (concatenate) Fields If Condition Is Met (If... Then... Else) SoonerLater Mail Merge 1 09-30-2015 05:40 PM
If condition not working. Condition formating for date? yabbah Excel 2 05-31-2012 12:38 PM
If condition not working. check with condition karti Word 2 03-15-2011 06:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft