LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Filename as Data

Well, it was my own "DUH!!"
I was trying to insert this directly into the macro. When I declaired a
function, put this into the function, and inserted the *function* into the
macro IT WORKED!!!
THANK YOU, THANK YOU, THANK YOU!!!

"Tom Ogilvy" wrote:

Range("B1").Value = left(activeworkbook.Name,len(ActiveWorkbook.name)-4)


 
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 to retrieve data from other filename? Eric Excel Discussion (Misc queries) 1 September 25th 07 01:42 PM
Use filename in cell to link data HughT Excel Worksheet Functions 2 August 15th 06 07:41 AM
set filename to <filename-date on open bob engler Excel Worksheet Functions 2 July 13th 06 05:11 AM
Import Data with the filename coming from inputbox ? Iceage Excel Programming 1 November 24th 04 03:22 AM
Saving filename same as import filename Matt Excel Programming 4 February 24th 04 03:01 PM


All times are GMT +1. The time now is 04:28 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"