• Jeremy Gore
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi All,

 

 

I want generate excel file in Contact list while clicking Generate excel btn?this is only for selected contact records ?Can anyone help regaring in this scenario.I have done for all records as Excel file but I am not able to generate only selected record.

VF Page:

 

<apex:page standardController="Contact"  contentType="application/" recordSetVar="Contacts" extensions="contactexcelgen" showHeader="false" >  

<apex:form >

 <apex:pageBlock >

  <apex:pageblocktable value="{!record}"  var="r" >   <apex:column value="{!r.name}"/>   

</apex:pageblocktable>

  </apex:pageBlock>

</apex:form>

</apex:page>

 

THANKS,

Vicky