+ Reply to Thread
Results 1 to 2 of 2

Set historyWks = Worksheets("Database")

  1. #1
    Registered User
    Join Date
    05-12-2018
    Location
    In my laptop
    MS-Off Ver
    MS Office 13
    Posts
    1

    Set historyWks = Worksheets("Database")

    Hi, I'm a bit new around in VBA and just wondering if is it possible to have a multiple Set historyWks = Worksheets("Database")? I'm also confused on how to tell this in English.
    The example of my scenario is I have 9 columns in my input worksheet and 9 different worksheets. Each column must throw the new data per worksheet like column 1 must throw it to database1 and column 2 must send the data to database2.

    Sorry for my bad interpretations. Hoping somebody can enlighten me. Many thanks in advance.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Set historyWks = Worksheets("Database")

    Hello InformationExcel,

    Welcome to the forum!

    It would help to see some before and after examples of your data. Because your are a first time poster, you cannot post a workbook. However, you can post it to a file sharing site like DropBox or MediaFire and post the link to the workbook. Please change or remove any sensitive or personal information before you post your workbook.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  2. In DATABASE criteria "Blank Cell" AND ="" are NOT the same things??
    By damlays in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-27-2015, 04:03 PM
  3. [SOLVED] Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cell
    By hammer2 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-30-2015, 04:52 AM
  4. Replace "illegal database" characters with "_" in one go
    By coreagc in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-05-2013, 03:32 AM
  5. [SOLVED] Activate "sorting" feature when worksheets are setup to "password protect" itself
    By nenadmail in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-26-2012, 09:04 PM
  6. [SOLVED] Problem: Worksheets("New Style 2006").Unprotect Password:="naPrint"
    By Karoo News in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2006, 10:45 AM
  7. use variable in Workbooks("book1").Worksheets("sheet1").Range("a1"
    By Luc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-28-2005, 04:05 PM

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