+ Reply to Thread
Results 1 to 5 of 5

Tweak code to use string vs number

  1. #1
    Registered User
    Join Date
    02-12-2007
    Location
    USA
    Posts
    44

    Tweak code to use string vs number

    Please Login or Register  to view this content.
    The above code works as should.

    What I would like to do is have the input box allow for a column instead.
    Say I would like to go from activecell to col M.
    I tried using "strings & type 2" but cannot get it to work.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Tweak code to use string vs number

    dannac

    The inputbox is already being used for a column.

    Do you mean that you want it to work for both column letter and column number?

    Please Login or Register  to view this content.
    By the way, it's not a good idea to name a sub after an existing VBA method.

  3. #3
    Registered User
    Join Date
    02-12-2007
    Location
    USA
    Posts
    44

    Re: Tweak code to use string vs number

    Norie

    I would like to type the column "letter" in the input box ... ("What column do you want to copy to")
    instead of the number of copies.

    I'll change the "FillRight."

    Thanks
    Last edited by dannac; 10-11-2012 at 01:39 PM.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Tweak code to use string vs number

    The code I posted allows you to type the column letter

  5. #5
    Registered User
    Join Date
    02-12-2007
    Location
    USA
    Posts
    44

    Re: Tweak code to use string vs number

    Works great ... Thanks Norie

+ 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