+ Reply to Thread
Results 1 to 3 of 3

How to create a macro for this?

  1. #1
    Registered User
    Join Date
    01-18-2006
    Posts
    5

    How to create a macro for this?

    I created a SQL script, that eventually spools an Excel file.

    This spool file is the source file for a total report (destination file) in Excel. I already tried to work with links between the source file and the destination file, but when I than open the destination file, it can only updates the values if I also open the source file. This is not what I want. I would like the destination file to automatically updates its value automatically wihtout having to open the source file. Can I record a marco to do this? If so, can anyone explain how?

  2. #2
    Tom Ogilvy
    Guest

    Re: How to create a macro for this?

    If the link is properly established, it should update. Since what you ask
    is normal behavior if you have the proper settings and proper links, there
    wouldn't be any special action which you would need to take or which you
    could take.

    --
    Regards,
    Tom Ogilvy

    "zimon72" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I created a SQL script, that eventually spools an Excel file.
    >
    > This spool file is the source file for a total report (destination
    > file) in Excel. I already tried to work with links between the source
    > file and the destination file, but when I than open the destination
    > file, it can only updates the values if I also open the source file.
    > This is not what I want. I would like the destination file to
    > automatically updates its value automatically wihtout having to open
    > the source file. Can I record a marco to do this? If so, can anyone
    > explain how?
    >
    >
    > --
    > zimon72
    > ------------------------------------------------------------------------
    > zimon72's Profile:

    http://www.excelforum.com/member.php...o&userid=30592
    > View this thread: http://www.excelforum.com/showthread...hreadid=502842
    >




  3. #3
    Registered User
    Join Date
    01-18-2006
    Posts
    5
    Tom,

    If it would work, I wouldn't post...

    So, it doesn't work. The problem is - I think - that although it looks like my sql script exports an .xls file, Excel sees and recognizes it as an .xls file as soon as I open it in Excel. So, I can only update my destination file after I open my .xls source file in Excel. And for this last part, I would like to record a macro.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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