+ Reply to Thread
Results 1 to 5 of 5

VBA to save a newly open workbook to a specfic workbook and then sheet within

  1. #1
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    VBA to save a newly open workbook to a specfic workbook and then sheet within

    Hi,
    Every day i download a file in an excel format.
    (The file name itself and the sheet name is a different in every down load.)
    I am looking for a VBA code to save the downloaded active worksheet file automatically to a specific workbook and within the workbook a specific worksheet and if possible to a specific range of cells.
    For example the workbook name is call “traffic” and one of the worksheets is called “other” saving the data in B3

    Can this be done?

    Any help or advice would be great!

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA to save a newly open workbook to a specfic workbook and then sheet within

    Do you mean you want to save the downloaded workbook with a specific name which is taken from a cell on a sheet in the workbook?
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Re: VBA to save a newly open workbook to a specfic workbook and then sheet within

    No, I am technically looking to copy the downloaded data (1 sheet worth of data) once copied, I would like to paste it as values to a specific workbook and within the workbook a specific work sheet. Ideally in certain cells like B3

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: VBA to save a newly open workbook to a specfic workbook and then sheet within

    Is the workbook you want to copy to open in the same instance of Excel as the workbook you've downloaded?

    What do you mean by 'Ideally in certain cells like B3'?

  5. #5
    Forum Contributor
    Join Date
    08-11-2013
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    270

    Re: VBA to save a newly open workbook to a specfic workbook and then sheet within

    the work book I would like the data to be copied to will be opened at the same time as the downloaded one. if is could be closed or opened that would be ideal also.

    With the cells, for example, in the downloaded workbook the data will be in a1 to g8 but I would like to have the option to save the data to an other cell when pasted IE b3 h10.

+ 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. How to open,save and close another workbook from the current workbook using macro?
    By ravikumar00008 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-15-2012, 10:42 AM
  2. Open newly created macro from new workbook
    By stubarso in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-06-2010, 02:30 PM
  3. Save an open workbook, then open template workbook and close the saved workbook
    By ondvirg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-27-2009, 10:20 PM
  4. How? Open Workbook to specfic tab & cell?
    By n2lectual in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2008, 03:41 PM
  5. Replies: 1
    Last Post: 12-28-2005, 06:30 PM

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