+ Reply to Thread
Results 1 to 6 of 6

Simple VBA multiplying question

  1. #1
    Registered User
    Join Date
    06-29-2010
    Location
    illinois, usa
    MS-Off Ver
    Excel 2007
    Posts
    1

    Simple VBA multiplying question

    how would I do something like

    Please Login or Register  to view this content.
    without getting an error message?

    Thanks
    Last edited by mikerickson; 06-29-2010 at 05:46 PM.

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Simple VBA multiplying question

    Workinghard,
    Welcome to the forum.
    Please take a moment to read the rules about posting.
    Particularly the one about using code tags. (which also applies to pseudo-code )
    I've added them to your post.

    This is one way to do what you want
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Simple VBA multiplying question

    You could look at paste special operations (multiply).
    EDIT: e.g if you had 12 in A1 then
    Please Login or Register  to view this content.
    Last edited by StephenR; 06-29-2010 at 05:50 PM.

  4. #4
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Simple VBA multiplying question

    Please Login or Register  to view this content.

  5. #5
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Simple VBA multiplying question

    Neat.

    Why does a message have to be 10 characters. End padding.

  6. #6
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Simple VBA multiplying question

    Quote Originally Posted by StephenR View Post
    Neat.

    Why does a message have to be 10 characters. End padding.
    I agree, seems pointless.

+ 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