Msgbox = valeur de plage

Solved
noe2008 Posted messages 191 Status Member -  
noe2008 Posted messages 191 Status Member -
Hello friends,

I would like to add a line at the end of a macro to have:
a msgbox whose text is the content of cell "D13" from the "acc" sheet.

Best regards

Configuration: Windows / Chrome 79.0.3945.130

1 answer

  1. cs_Le Pivert Posted messages 8437 Status Contributor 730
     
    Hello,

    how are you doing with that post?

    https://forums.commentcamarche.net/forum/affich-36470897-vba-exporter-en-format-pdf

    --
    @+ The Woodpecker
    1
    1. noe2008 Posted messages 191 Status Member 4
       
      Thank you very much, I just marked it as resolved.
      0
      1. cs_Le Pivert Posted messages 8437 Status Contributor 730 > noe2008 Posted messages 191 Status Member
         
        Like this:

        MsgBox Worksheets("acc").Range("D13").Value


        @+ The Woodpecker
        0
      2. noe2008 Posted messages 191 Status Member 4 > cs_Le Pivert Posted messages 8437 Status Contributor
         
        Thank you for your help, it works great!
        0