Results 1 to 11 of 11

Macro confusion with document name

Threaded View

  1. #1
    Registered User
    Join Date
    01-07-2005
    Posts
    20

    Macro confusion with document name

    Hi, I am a baby VBAer and could really use some help! Everything in this macro works as it should with one exception. The goal of the macro is to copy certain info from a doc called Sales Copy & paste it into another doc called PAA. In the code below it often refers to "Sales Copy1". In reality, this will often be titled something else like "Sales Copy 4" or "Sales Copy 12". How can I change this code to understand the doc is not always named Sales Copy1? I believe I should be using "dim nam as variant", but I'm not sure how or where. This is a fantastic forum & everyone is wonderful! I appreciate any help that can be offered! Thank you in advance.
    Last edited by chaminod; 10-25-2010 at 08:47 PM.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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