+ Reply to Thread
Results 1 to 5 of 5

Modify VBA code

  1. #1
    Registered User
    Join Date
    01-09-2020
    Location
    Singapore
    MS-Off Ver
    2019
    Posts
    25

    Modify VBA code

    Hi Expert,

    Can anyone help me to amend code below to fit my need.
    I want to keep:
    Range A as prefix No.
    Range B is hyperlink PDF and keep actual file name.
    Cell C2 is new folder name.
    Finally copy active hyperlink from Range B and rename it as (Range A_)+(Range B).pdf,
    save into new folder which was created before ( Cell C2 ).
    Thank you.


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by mikephie; 02-27-2020 at 06:36 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Modify VBA code

    Administrative Note:



    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-09-2020
    Location
    Singapore
    MS-Off Ver
    2019
    Posts
    25

    Re: Modify VBA code

    Hi I'm really a new bird here.
    I attached the module file hope you can accept it.
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Modify VBA code

    Hi,

    You need to edit your original by selecting the code and then clicking the # icon in the list of icons above. This will wrap your procedure with [CODE] tags

  5. #5
    Registered User
    Join Date
    01-09-2020
    Location
    Singapore
    MS-Off Ver
    2019
    Posts
    25

    Re: Modify VBA code

    I did.
    So sorry

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] assistance to modify vba code existing code sheets name to sheet tab names in filtering
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-28-2018, 03:58 AM
  2. how to modify a code
    By chriswrcg in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-17-2017, 09:04 AM
  3. Can someone modify code for me.
    By JayeshG in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2015, 03:57 PM
  4. [SOLVED] Help to modify vba code
    By christopherjward in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-29-2013, 06:56 PM
  5. How to modify VB code?
    By sem in forum Excel General
    Replies: 3
    Last Post: 08-07-2012, 05:29 AM
  6. [SOLVED] Array Formula vs vBa code - How To Modify My Messy Code To One Of Those
    By ScotyB in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-20-2012, 12:04 AM
  7. I want to modify the code
    By hesham63 in forum Excel General
    Replies: 8
    Last Post: 07-30-2011, 10:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1