View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
johan johan is offline
external usenet poster
 
Posts: 34
Default Change link-source on file after copy the sheet into new a newworkbook

Hello,

I like to have a macro that made a copy of the actual sheet into a new
workbook (create a copy - new book).
Then the macro has to save directly the file into the directory C:/
Apps with the name "Template-date-time.xls" (date and time as actual).
After that the action should be taken: menuaction "Edit - Links -
Change Source" and then change the source to the before saved
filename.

Why this action.... because my file has buttons on it. When I copy
the sheet with the buttons on it, it will get "links" to the original
file because of the VBA codes on it.

Possible ?? or another solution ?

greetings from John