+ Reply to Thread
Results 1 to 3 of 3

how do i obtain a file name from a cell contents and use it to sa.

  1. #1
    Paul Bond
    Guest

    how do i obtain a file name from a cell contents and use it to sa.

    I am trying to run a macro to save a file but want to obtain the filename
    from the contents of a specific cell

  2. #2
    Bob Phillips
    Guest

    Re: how do i obtain a file name from a cell contents and use it to sa.

    Activeworkbook.Saves fileName:= Range("A1").Value

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "Paul Bond" <Paul Bond@discussions.microsoft.com> wrote in message
    news:FDE5AE7A-31F9-4270-ACEC-F621392C894B@microsoft.com...
    > I am trying to run a macro to save a file but want to obtain the filename
    > from the contents of a specific cell




  3. #3
    Gary Keramidas
    Guest

    Re: how do i obtain a file name from a cell contents and use it to sa.

    i think bob has an inadvertent typo in is code

    ActiveWorkbook.SaveAs Filename:=Range("A1").Value

    --


    Gary


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:e%23jG54THGHA.1676@TK2MSFTNGP09.phx.gbl...
    > Activeworkbook.Saves fileName:= Range("A1").Value
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > (remove nothere from email address if mailing direct)
    >
    > "Paul Bond" <Paul Bond@discussions.microsoft.com> wrote in message
    > news:FDE5AE7A-31F9-4270-ACEC-F621392C894B@microsoft.com...
    >> I am trying to run a macro to save a file but want to obtain the filename
    >> from the contents of a specific cell

    >
    >




+ 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