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

STL - Formerly Best Training Solutions Through Learning
TrustPilot
Excellent
Request Callback We will call you back
0207 987 3777 Call for assistance
Your Basket Basket is empty
code copy using hyperlink

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Code to copy using hyperlink

Code to copy using hyperlink

ResolvedVersion 2003

Mandy has attended:
Excel VBA Intro Intermediate course
Upgrade to Office 2010 course

Code to copy using hyperlink

Is it possible to copy data from another workbook using a hyperlink in the current workbook to direct the code to a specific workbook.

ie. on workbook S:\systems\costing is a hyper link to S:\Dev\H&P. Workbook H&P has a worksheet call assembly.

I want to copy data from this assembly sheet into the costing worksheet for each workbook created in S:\Dev. The file names change on a regular basis so I dont want to go into several different bits of code each time.

RE: Code to copy using hyperlink

Hi Mandy

Thanks for the detail around what you are trying to achieve, this cannot be done using hyperlinks. Code would have to be written that would cycle through all the files in a directory, open them and copy the data into a workbook. Without spending more time on this we are not clear on how this could be done, but it would take several days to set up.

We can assist with this in a consultative role should it be something you wish to pursue.

regards

Jacob

Thu 24 Sep 2009: Automatically marked as resolved.

Excel tip:

Hiding Formulae in the Formula Bar

It is possible to protect the contents of a cell reference(s) from amendment by applying cell protection. The contents of the cell reference can also be stopped from displaying in the formula bar.

Step 1: Select Format > Cells > Protection.

Step 2: Tick Hidden option. Ensure Locked is ticked

Step 3: Select Tools > Protection > Protect Sheet

(Ensure "Protect worksheet and contents of locked cells" is ticked)


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.