RE: open / close files and display names
- From: Bob Bridges <rhbridg.RemoveThisNode@xxxxxxxxxxxxx>
- Date: Thu, 2 Jul 2009 19:12:02 -0700
Well, I always approve of trying to make a program better. Ok, then, it
seems to me that you need to change the syntax of the assignment statement
when you're closing your sheets. Change the cells .Value assignment to
..Text, and change those single quotes to double quotes (remember you're in
VBA, not REXX). That should fix the immediate problem. But of course that
doesn't mean another problem won't pop up behind it as soon as you have the
obvious one fixed.
Or if that doesn't fit your circumstances, maybe instead of my trying to
guess what's wrong with your program, try this: Tell us which part of your
program isn't working, and what it IS doing instead. Like this: "I want to
remove the file name from worksheet 'FileList', but when I use the
Range.Remove action, I get the following error message...", or "...but I
don't know what command is equivalent to deleting the contents of a cell", or
whatever.
--- "Jack" wrote:
i have a macro that will open the files but i was trying to cut down on the.
visual noise and that is when the list idea came up. I understand some of
the basics and what i have works but i'm trying to make it better.
- References:
- open / close files and display names
- From: Jack
- RE: open / close files and display names
- From: Bob Bridges
- RE: open / close files and display names
- From: Jack
- open / close files and display names
- Prev by Date: Pattern match and grouped items
- Next by Date: RE: search function
- Previous by thread: RE: open / close files and display names
- Next by thread: Can you stop a Msgbox from making a beep sound? Thanks.
- Index(es):
Relevant Pages
|