+ Reply to Thread
Results 1 to 2 of 2

VBA - run macro from condition

  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    BC, Canada
    MS-Off Ver
    Excel 2003
    Posts
    1

    Exclamation VBA - run macro from condition

    Hello, I need help! I have a worksheet that I would like to transfer data from sheet to sheet. Need to know the best way to do this as the macro will be added onto later. Have mostly seen threads regarding making 31macros and using a selection box to pick the macro but would like something based on the 1-31 which is already on the spreadsheet and you only need to click the one macro run button.

    The 1-31 is going to be yesterdays day number... ie 2 (novermber 2).

    a1= 1-31. Example... a1=1, copy b1, paste c1
    a1=2, copy b1, paste c2.

    Looking for the best possible way to do something like this.
    Thanks

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: VBA - run macro from condition

    Its not very clear on what you want. Why dont you attach a sample workbook so we can help you better and faster?

+ 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