Home > Software engineering > [for] how to invoke the hyperlinks and copy and paste files into excel?
[for] how to invoke the hyperlinks and copy and paste files into excel?
Time:12-22
Do want to use a function call in the VBA programming hyperlinks in the original Excel spreadsheet what to get?
Say specific point is:
1. VBA statement - this I use Case Is
2. If it is the first selected have hyperlinks cell
3. Read the selected Cell?
4. Reference hyperlink and finding the link file
5. The original file is copied then according to the number of pages one page a page and paste into one of the Excel sheet
Is this four 2, 3, 4, 5 do? Or everybody has similar to guide the trouble, please give a sample of the procedures section is ok thank you very much
CodePudding user response:
Start recording macros in Excel 2003, manual, complete the required function end record macros, press Alt + F11 key, check just record macro corresponding VBA code,
CodePudding user response:
To make more convenient use hyperlinks collection:
Option Explicit Sub test () Dim Lnk As the Hyperlink For Each Lnk In Sheet1. Hyperlinks "' Next End Sub