Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Rename attachment

How do I rename multiple attachments when stripping
multiple attachments? I have the code to strip
attachments and it works fine.

My problem stems from file names that include
forward /'s. Example below:

/company/operations/filename

So actually, I need to keep filename, but remove preceding
information.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default Rename attachment

You can use the InstrRev function to find the last slash, or the Split command to split the
string at the slashes and discard all but the last element in the resulting array.

On Fri, 18 Jul 2003 07:48:27 -0700, "Andrew" wrote:

How do I rename multiple attachments when stripping
multiple attachments? I have the code to strip
attachments and it works fine.

My problem stems from file names that include
forward /'s. Example below:

/company/operations/filename

So actually, I need to keep filename, but remove preceding
information.

Thank you.


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
rename Martin ©¿©¬ @nohere.net Excel Discussion (Misc queries) 14 March 26th 10 05:54 PM
how do i rename a sheet if the rename tab is inactive? Nelson Excel Worksheet Functions 1 March 3rd 10 10:28 AM
why can't I rename my worksheet? cfc1905 Excel Discussion (Misc queries) 2 February 13th 06 03:19 PM
Rename Add-Ins BEEJAY Excel Discussion (Misc queries) 4 December 8th 05 08:18 PM
Add Sheets and rename GregR Excel Discussion (Misc queries) 13 February 13th 05 10:56 PM


All times are GMT +1. The time now is 06:04 AM.

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

About Us

"It's about Microsoft Excel"