Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default add prefix to filename - macro to loop down column


Hi! What's the best way to change a column of cells that contiain
filename such as myimage.jpg and add the full path -
http://www.mydomain.com/images/myimage.jpg?

I assume some type of looping macro, but have spent way longer than
can afford to try and figure it out. Think this is an easy one fo
experienced users hopefully!

Thanks for any input! :)
Cind

--
cml090
-----------------------------------------------------------------------
cml0904's Profile: http://www.excelforum.com/member.php...fo&userid=3773
View this thread: http://www.excelforum.com/showthread.php?threadid=57320

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default add prefix to filename - macro to loop down column

How about just using a formula:

="Http://www.domain.com/images/" & a1

and drag down

Maybe better...

=hyperlink(""Http://www.domain.com/images/" & a1,"Click me!")

and drag down.

cml0904 wrote:

Hi! What's the best way to change a column of cells that contiain a
filename such as myimage.jpg and add the full path --
http://www.mydomain.com/images/myimage.jpg?

I assume some type of looping macro, but have spent way longer than I
can afford to try and figure it out. Think this is an easy one for
experienced users hopefully!

Thanks for any input! :)
Cindy

--
cml0904
------------------------------------------------------------------------
cml0904's Profile: http://www.excelforum.com/member.php...o&userid=37730
View this thread: http://www.excelforum.com/showthread...hreadid=573204


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default add prefix to filename - macro to loop down column


thanks much, works perfect

--
cml090
-----------------------------------------------------------------------
cml0904's Profile: http://www.excelforum.com/member.php...fo&userid=3773
View this thread: http://www.excelforum.com/showthread.php?threadid=57320

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I set an 'M' prefix to existing text in a column? muppetlover27 New Users to Excel 2 June 10th 08 01:41 PM
prefix a column of numbers with combination of zeros pinny Excel Discussion (Misc queries) 2 July 31st 06 04:46 PM
Adding a prefix to all numbers in a column. Randy Excel Discussion (Misc queries) 2 February 5th 06 08:11 AM
how do i prefix a column with letters prefixing columns Excel Discussion (Misc queries) 2 April 28th 05 01:12 PM
Prefix macro TedL Excel Programming 3 July 6th 04 08:01 PM


All times are GMT +1. The time now is 08:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"