+ Reply to Thread
Results 1 to 2 of 2

Print value in each cell in range from userofrm

  1. #1
    Registered User
    Join Date
    08-04-2014
    Location
    Stockholm
    MS-Off Ver
    2013
    Posts
    58

    Print value in each cell in range from userofrm

    Hello,

    From a userform I execute a macro that copies range r to the lastrow in range 2.
    However, I want to add the value form a textbox (txtNamn) in the userform to
    every row that gets pasted in range r2, I want the values in column D.

    I suppose I have to use me.txtNamn to get the value, but how do I got about
    adding it to every row?

    Thanks in advance

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Print value in each cell in range from userofrm

    Try something like this..

    Please Login or Register  to view this content.
    BTW, avoid using ActiveSheet as much as possible..
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

+ 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. Set print area of selected range then print preview if ok then print the document!
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2014, 07:10 AM
  2. VBA to set print range, open box asking for print qty, print, then redefine print area
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2012, 06:43 PM
  3. [SOLVED] i'd like some more userofrm help please
    By Gary Keramidas in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-30-2005, 02:05 PM
  4. [SOLVED] print a certain range depending what is in cell?
    By Momo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2005, 01:06 PM
  5. Set print range to a particular cell
    By eagles1994 in forum Excel General
    Replies: 4
    Last Post: 02-10-2005, 09:06 PM

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