read specific cell value

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Read specific cell value and same value named Folder/file into c

Read specific cell value and same value named Folder/file into c

resolvedResolved · Low Priority · Version 2007

Palvinder has attended:
Excel VBA Intro Intermediate course
Excel VBA Advanced course

Read specific cell value and same value named Folder/file into c

I read a specific cell Value in my current worksheet.
This cell value happens to be the same name of the FOLDER and FILE name in a specified path on the C: drive.

If found (only got one sheet in it) I want to copy and paste values
into my current workbook in a specified named work sheet.
Otherwise display file not found.

Appreciate you help on this
Kindest Regards
Pal

RE: Read specific cell value and same value named Folder/file in

Hi Palvinder, sorry for the delay in getting back to you. Your query involves several different aspects already covered in our course material, such as moving data from one sheet to another and error trapping. One addition, however, is testing to see whether a file or folder exists which these links should help you with:

http://www.ozgrid.com/forum/showthread.php?t=43256

http://www.excelguru.ca/content.php?157

Hope this helps,

Anthony

Thu 23 Feb 2012: Automatically marked as resolved.

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Moving between Worksheets without using the mouse

Use the 'Ctrl+PgDn' and 'Ctrl+PgUp' keys.

'Ctrl+PgDn' will move to the right and 'Ctrl+PgUp' will move to the left one worksheet at a time.

View all Excel hints and tips


Server loaded in 0.09 secs.