Create Find Control on a Page

R

Rona

Need to create a control or button on the first page of a
document to search all text in a shape on all pages, and
it takes you there. The document will be saved as a web
page. I can just use the Find feature while in the
document in Visio. I would like to do that same thing
for the web page. I appreciate any help that I can get.
Thanks!
 
C

Chris Roth [ Visio MVP ]

Visio's |HTML export features allow you to include a search option in the
web page.

Goto File > SaveAsWeb... , then click the Publish... button. You'll get a
check box option for Search Pages.

This feature is in Visio 2003, and *I think* in Visio 2002, but I'm too lazy
to check.

--

Hope this helps,

Chris Roth
Visio MVP
 
D

David Parker

Yep, you're too lazy Chris.
Search and Pan & Zoom window were introduced in Visio 2003.
 
R

Rona

Thanks guys! I am actually upgrading to 2003 - but not
yet. I actually may have found something, the User
Interface Commands - but not sure how to use them, the
VBA I have used with Access is different for these
commands. The name of the "ConstName"
is "visCmdEditFind" and the value is 1043 - would either
of you know the correct usage? I can put a command
button on the first page, and then put this code behind
it. Thanks!! (I tried the viewer, and it is nice & all,
but no search).

My email address is (e-mail address removed)
-----Original Message-----
Yep, you're too lazy Chris.
Search and Pan & Zoom window were introduced in Visio 2003.

"Chris Roth [ Visio MVP ]"
 
M

Mark Nelson [MS]

That's the command for showing the Find dialog. Invoke it using the
Application.DoCmd method. It is the equivalent of accessing the dialog from
the menu. Note that the UI commands simply pop up UI; they don't actually
perform the Find function.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

Rona said:
Thanks guys! I am actually upgrading to 2003 - but not
yet. I actually may have found something, the User
Interface Commands - but not sure how to use them, the
VBA I have used with Access is different for these
commands. The name of the "ConstName"
is "visCmdEditFind" and the value is 1043 - would either
of you know the correct usage? I can put a command
button on the first page, and then put this code behind
it. Thanks!! (I tried the viewer, and it is nice & all,
but no search).

My email address is (e-mail address removed)
-----Original Message-----
Yep, you're too lazy Chris.
Search and Pan & Zoom window were introduced in Visio 2003.

"Chris Roth [ Visio MVP ]"
message news:[email protected]... 2002, but I'm too
lazy


.
 
R

Rona

Can you explain that in more depth? I am really new to
this, and don't quite understand the UI commands that
Visio uses. I am upgrading soon, and it may resolve
this issue anyway, but in the meantime, in this
organization chart there are 54 pages, almost 3000
people, my manager wants to be able to click on some sort
of "search" or "find", type a last name (or whole name)
and find that individual where ever he or she might be.
Thanks!

-----Original Message-----
That's the command for showing the Find dialog. Invoke it using the
Application.DoCmd method. It is the equivalent of accessing the dialog from
the menu. Note that the UI commands simply pop up UI; they don't actually
perform the Find function.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

Thanks guys! I am actually upgrading to 2003 - but not
yet. I actually may have found something, the User
Interface Commands - but not sure how to use them, the
VBA I have used with Access is different for these
commands. The name of the "ConstName"
is "visCmdEditFind" and the value is 1043 - would either
of you know the correct usage? I can put a command
button on the first page, and then put this code behind
it. Thanks!! (I tried the viewer, and it is nice & all,
but no search).

My email address is (e-mail address removed)
-----Original Message-----
Yep, you're too lazy Chris.
Search and Pan & Zoom window were introduced in Visio 2003.

"Chris Roth [ Visio MVP ]"
message Visio's |HTML export features allow you to include a search option in the
web page.

Goto File > SaveAsWeb... , then click the Publish... button. You'll get a
check box option for Search Pages.

This feature is in Visio 2003, and *I think* in
Visio
2002, but I'm too
lazy
to check.

--

Hope this helps,

Chris Roth
Visio MVP

"Rona" <[email protected]> wrote
in
message
Need to create a control or button on the first
page
of a
document to search all text in a shape on all
pages,
and
it takes you there. The document will be saved
as a
web
page. I can just use the Find feature while in the
document in Visio. I would like to do that same thing
for the web page. I appreciate any help that I
can
get.
Thanks!




.


.
 
C

Chris Roth [ Visio MVP ]

Can you simply use the Edit > Find... command? There are some check boxes
for customizing where you search. Shape Text and Custom Property will be
invaluable for your purposes.


--

Hope this helps,

Chris Roth
Visio MVP


Rona said:
Can you explain that in more depth? I am really new to
this, and don't quite understand the UI commands that
Visio uses. I am upgrading soon, and it may resolve
this issue anyway, but in the meantime, in this
organization chart there are 54 pages, almost 3000
people, my manager wants to be able to click on some sort
of "search" or "find", type a last name (or whole name)
and find that individual where ever he or she might be.
Thanks!

-----Original Message-----
That's the command for showing the Find dialog. Invoke it using the
Application.DoCmd method. It is the equivalent of accessing the dialog from
the menu. Note that the UI commands simply pop up UI; they don't actually
perform the Find function.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

Thanks guys! I am actually upgrading to 2003 - but not
yet. I actually may have found something, the User
Interface Commands - but not sure how to use them, the
VBA I have used with Access is different for these
commands. The name of the "ConstName"
is "visCmdEditFind" and the value is 1043 - would either
of you know the correct usage? I can put a command
button on the first page, and then put this code behind
it. Thanks!! (I tried the viewer, and it is nice & all,
but no search).

My email address is (e-mail address removed)

-----Original Message-----
Yep, you're too lazy Chris.
Search and Pan & Zoom window were introduced in Visio
2003.

"Chris Roth [ Visio MVP ]"
message Visio's |HTML export features allow you to include a
search option in the
web page.

Goto File > SaveAsWeb... , then click the Publish...
button. You'll get a
check box option for Search Pages.

This feature is in Visio 2003, and *I think* in Visio
2002, but I'm too
lazy
to check.

--

Hope this helps,

Chris Roth
Visio MVP

message
Need to create a control or button on the first page
of a
document to search all text in a shape on all pages,
and
it takes you there. The document will be saved as a
web
page. I can just use the Find feature while in the
document in Visio. I would like to do that same
thing
for the web page. I appreciate any help that I can
get.
Thanks!




.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top