Fuge Posted April 18 Share Posted April 18 Hi Guys... First, thanks in advance for the help. Has anyone figured out how to set a worksheet cell to the files name? There doesn't appear to be a function for worksheets... You'd think there'd be something simple like... = GetFName as in VS. I'm sure I can figure out something by scripting something to create an Object in the document to read. Cheers! Dave Quote Link to comment
Pat Stanford Posted April 18 Share Posted April 18 There does not appear to be a WS function to do what you want. Try and create a script from the line below and then enter a worksheet formula of: =RunScript('NameYouGaveTheScript) This is the one line script you need. WSScript_SetResStr(GetFName); 1 Quote Link to comment
Fuge Posted April 18 Author Share Posted April 18 That works great- thanks Pat... Dave Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.