Anthony's VBA Forum Index Anthony's VBA Forum
Where the knowledge is shared
Menu
 Anthony's VBA Forum IndexHome Page
 Anthony's VBA Forum IndexForum Index
FAQFAQ
MemberlistMemberlist
UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messagesMessages
Log inLogin/Out

Quick Search

Advanced Search

Links
Consulting
Products

Who's Online
[ Administrator ]
[ Moderator ]


OPEN a file in VBA

 
Post new topic   Reply to topic     Anthony's VBA Forum Index -> General Excel VBA
View previous topic :: View next topic  
Author Message
andynewns



Joined: 13 Jul 2006
Posts: 1

PostPosted: Thu Jul 13, 2006 8:39 am    Post subject: OPEN a file in VBA Reply with quote

HI i was wondering if anyone could help me.
I am to put into my code an open file function, but as the file can change on a daily basis i wanted to bring up the browse for file, is this possible in VBA and does anyone have the code
________
[URL=http://www.toyota-wiki.com/wiki/Toyota_Van]Toyota Van history[/URL]


Last edited by andynewns on Fri Feb 04, 2011 6:26 am; edited 1 time in total
Back to top
View user's profile Send private message
mohan.ankur
Moderator
Moderator


Joined: 02 Aug 2006
Posts: 52

PostPosted: Wed Aug 02, 2006 1:29 pm    Post subject: Reply with quote

Hey Andy,

Did you try putting "a=Application.getopenfilename", at the begining.

a could be a variable that would store the name of the file u wish to open.

Ankur
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic     Anthony's VBA Forum Index -> General Excel VBA All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group