PC Review


Reply
Thread Tools Rate Thread

Change Formats using VBA

 
 
Jacinda
Guest
Posts: n/a
 
      19th Sep 2008
Hi, I have a table that collects file names via VBA . (p:\Drawing001)

When the table generates if I set the orginal property to text and then
change it to hyperlink (manually) it will automatcally open the file. I would
like to change the property using VBA so that I don't have to go into the
table to change it.

I tried setting the property to hyperlink to begin with, but that does not
seem to work...

any suggestions?
--
-Jacinda
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      20th Sep 2008
If the field type is Hyperlink, you need to assign both a display value,
address, and the two # separators, e.g.:
"p:\Drawing001#p:\Drawing001#"

More info:
Introduction to Hyperlink fields
at:
http://allenbrowne.com/casu-09.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jacinda" <(E-Mail Removed)> wrote in message
news:3D37A5EE-342E-4083-B304-(E-Mail Removed)...
> Hi, I have a table that collects file names via VBA . (p:\Drawing001)
>
> When the table generates if I set the orginal property to text and then
> change it to hyperlink (manually) it will automatcally open the file. I
> would
> like to change the property using VBA so that I don't have to go into the
> table to change it.
>
> I tried setting the property to hyperlink to begin with, but that does not
> seem to work...
>
> any suggestions?
> --
> -Jacinda


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Endnote Formats LisaS Microsoft Word Document Management 1 19th Mar 2010 02:13 PM
How to Change Date Formats =?Utf-8?B?SmVzc2ljYQ==?= Microsoft Excel Misc 2 1st Nov 2005 06:21 PM
Cannot change formats of cells??? =?Utf-8?B?Q2hyaXNB?= Microsoft Excel Misc 2 27th Jun 2005 05:58 PM
Change Formats Charles Deng Microsoft Excel Worksheet Functions 4 4th Oct 2004 10:09 PM
Hyperlinks formats change JIMINSRQ Microsoft Frontpage 1 30th Dec 2003 10:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:37 PM.