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

read specific cell value

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

ResolvedVersion 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:

Switching Between Spreadsheets

As the Alt+Tab key switches between loaded applications or files, Ctrl+Tab switches between loaded or open Excel files. Hold down the Ctrl key until you have tabbed to the correct spreadsheet.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.