+ Reply to Thread
Results 1 to 2 of 2

Copy, Rename and Store PDF in Another Location

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    18

    Copy, Rename and Store PDF in Another Location

    Hi,

    I have a worksheet that have many of the same Active X command button so i need to reference relatively to the location of the button.

    The following is the function of the button:

    1. When Clicked, allows user to source for a PDF file (the path is stored in the cell that is 1 row down and 5 columns to the right from the command button.)

    2. Creates and renames a copy of the sourced file in a specified destination. (File name is the value of the cell 1 row down and 3 columns to the right of the command button. Destination is the value of the cell 1 row down and 4 columns to the right of the command button.)

    3. The path of the created copy is stored in the cell 1 row down and 6 columns to the right of the command button (For the second Command button to draw up the copied file when clicked)

    4. Overwrites any previously created copy with the same file name

    I found some code online but it does not allow relative referencing. The sample file as attached. Checklist Mockup.xlsm

    A big thank you in advance!

  2. #2
    Registered User
    Join Date
    09-20-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Copy, Rename and Store PDF in Another Location

    Nvm I've found the code i need. In case anyone else needs it, the working file as attached.Checklist Mockup2.xlsm

+ 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. Replies: 0
    Last Post: 06-28-2014, 02:26 PM
  2. Store current cell location to use same location on other worksheet
    By jmvdholst in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2013, 09:58 AM
  3. Finding Location based on Store #
    By Dynamo418 in forum Excel General
    Replies: 1
    Last Post: 07-21-2010, 11:36 AM
  4. Rename files and store them at different paths.
    By Hjahren in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-19-2010, 09:31 AM
  5. Way to store cell location to variable?
    By farful in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2006, 06:50 PM

Tags for this Thread

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