Results 1 to 20 of 35

Thread: VBA Edit Links

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #23
    VBAX Regular
    Joined
    Feb 2021
    Posts
    33
    Location
    Hi.

    Sorry for the delay. its been a busy day.

    I've created a test file that mirror's my actual file. Within this file it has two tabs.

    1. Mainstay Master.
    2. Mainstay Report.

    As you can see from the test file, the report tab uses the master file for its information based on a validation list situated in cell B4. The validation list comes from a list I've defined called sitenames1. See file for the range.

    So essentially. I want to copy these tabs and paste into a new workbook called 'Mainstay Master' incorporating the drop down list in B4 on the reporting tab using the defined range 'sitenames1' Because we are creating the a new workbook every time. The defined range will need to be created once the worksheets have been copied over from scratch every time.

    The Mainstay master tab will need to be copied over without any formula's, but the formats, row and column sizes must be exact as the the xlsm file. Hence my code 'with w'

    If you click on D58 for example in the mainstay report. The formula that exists. I want to see in the new workbook. 'Mainstay Master' (currently getting the link to the XLSM file).

    I can then send this report to the client and they will be able to change the site name and the look up the information that pertains to that individual site. (hope this gives you a clearer picture)


    No sorry. Have no idea what you mean by Teamviewer session???



    Quote Originally Posted by p45cal View Post
    A view of the actual xlsm file would be a big step to my understanding of the problem.
    I also need to understand what the aim of this is; at first I thought you were copying two sheets of that file to another (new) workbook, possibly to send to others, while preserving your xlsm file, but now I'm not so sure when I re-read your first post:
    It's difficult to work out what you want to do from code that isn't doing what you want it to do!
    So along with the file I'd like an overview of your misson.

    Another approach to this might be to save (or save a copy of) the whole file as an xlsx (this won't lose you the xlsm file) and remove the sheets you no longer want in that file and save again; I expect the formulae within that file would not point to another file.

    Did you understand what I meant about a TeamViewer session?
    Attached Files Attached Files

Posting Permissions

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