ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel: Find/Replace for Data Validation text or Worksheet Objects (https://www.excelbanter.com/excel-discussion-misc-queries/89865-excel-find-replace-data-validation-text-worksheet-objects.html)

[email protected]

Excel: Find/Replace for Data Validation text or Worksheet Objects
 
I'm using Excel 2002 and 2003.

Has anyone had occasion to set up a macro to do Find/Replace (or even
just Find) on the Data Validation Input Text/Title, Worksheet Objects,
or the like?

Or perhaps a macro to dump the Data Validation set up in a worksheet or
workbook?

Hate to reinvent the wheel.

I'm starting to think in terms of a "Power" Find/Replace.

Thanks!
Neva


C01d

Excel: Find/Replace for Data Validation text or Worksheet Objects
 

The code segment below shows how you can extract a cell's data
validation fields. The Validation object has more properties than what
is shown here.

Set r = Range("A1")
Title = r.Validation.InputTitle)
Msg = r.Validation.InputMessage)


--
C01d
------------------------------------------------------------------------
C01d's Profile: http://www.excelforum.com/member.php...o&userid=34422
View this thread: http://www.excelforum.com/showthread...hreadid=544332


Debra Dalgleish

Excel: Find/Replace for Data Validation text or Worksheet Objects
 
There's code here to document the data validation on the active worksheet:

http://www.contextures.com/xlDataVal09.html


wrote:
I'm using Excel 2002 and 2003.

Has anyone had occasion to set up a macro to do Find/Replace (or even
just Find) on the Data Validation Input Text/Title, Worksheet Objects,
or the like?

Or perhaps a macro to dump the Data Validation set up in a worksheet or
workbook?

Hate to reinvent the wheel.

I'm starting to think in terms of a "Power" Find/Replace.

Thanks!
Neva



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html


[email protected]

Excel: Find/Replace for Data Validation text or Worksheet Objects
 
Thank you! I really appreciate the assistance.

Neva



All times are GMT +1. The time now is 03:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com