VBA code - resize

RAJESH1960

Banned for repeated rules violations
Joined
Mar 26, 2020
Messages
2,313
Office Version
  1. 2019
Platform
  1. Windows
I am using this code to copy a particular range of data and paste it to notepad.



Sub SaveAsMasterXML()

Dim rngData As Range

Dim strData As String

Dim strTempFile As String

Dim x As Long, y As Long

Dim usr As String



Sheets("MasterData").Activate

y = Sheets("MasterData").Range("B2").CurrentRegion.Columns.Count

x = Sheets("MasterData").Range("AA2:A" & Sheets("MasterData").Range("A" & Rows.Count).End(xlUp).Row).Rows.Count

Range("AA2").Resize(x, y).Copy

The problem is that this code is selecting the data from AA2 to AM2 only whereas I want it to select the same number of rows as in B2 data from AA to BX. I would really appreciate if the code is corrected.

query to resize cells.xlsx
ABCDEFGHIJKLZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBVBWBX
1ALIAS PARTY LEDGER NAMEPARENT GROUPGSTIN NO.REGISTRATION TYPEADDRESS 1 (Bldg / No)ADDRESS (Road / Street)ADDRESS (Area)ADDRESS (City)STATEPINCODEOPENING BALANCE
2ccCash & CarrySundry Debtors29xxx1111x29Regular# 005ITI LayoutBSK 3rd StageBangaloreKarnataka56008512345.00<ENVELOPE><HEADER><TALLYREQUEST>Import Data</TALLYREQUEST></HEADER><BODY><IMPORTDATA><REQUESTDESC><REPORTNAME>All Masters</REPORTNAME><STATICVARIABLES><SVCURRENTCOMPANY></SVCURRENTCOMPANY></STATICVARIABLES></REQUESTDESC><REQUESTDATA><TALLYMESSAGE xmlns:UDF="TallyUDF"><LEDGER NAME="Cash & Carry" RESERVEDNAME=""><ADDRESS.LIST TYPE="String"><ADDRESS># 005</ADDRESS><ADDRESS>ITI Layout</ADDRESS><ADDRESS>BSK 3rd Stage</ADDRESS><ADDRESS>Bangalore</ADDRESS></ADDRESS.LIST><MAILINGNAME.LIST TYPE="String"><MAILINGNAME>Cash & Carry</MAILINGNAME></MAILINGNAME.LIST><OLDAUDITENTRYIDS.LIST TYPE="Number"><OLDAUDITENTRYIDS>-1</OLDAUDITENTRYIDS></OLDAUDITENTRYIDS.LIST><GUID></GUID><CURRENCYNAME>₹</CURRENCYNAME><PINCODE>560085</PINCODE><COUNTRYNAME>India</COUNTRYNAME><GSTREGISTRATIONTYPE>Regular</GSTREGISTRATIONTYPE><VATDEALERTYPE>Regular</VATDEALERTYPE><PARENT>Sundry Debtors</PARENT><TAXCLASSIFICATIONNAME/><TAXTYPE>Others</TAXTYPE><COUNTRYOFRESIDENCE>India</COUNTRYOFRESIDENCE><GSTTYPE/><APPROPRIATEFOR/><PARTYGSTIN>29xxx1111x29</PARTYGSTIN><GSTNATUREOFSUPPLY/><SERVICECATEGORY></SERVICECATEGORY><EXCISELEDGERCLASSIFICATION/><EXCISEDUTYTYPE/><EXCISENATUREOFPURCHASE/><LEDGERFBTCATEGORY/><LEDSTATENAME>Karnataka</LEDSTATENAME><ISBILLWISEON>Yes</ISBILLWISEON><ISCOSTCENTRESON>No</ISCOSTCENTRESON><ISINTERESTON>No</ISINTERESTON><ALLOWINMOBILE>No</ALLOWINMOBILE><ISCOSTTRACKINGON>No</ISCOSTTRACKINGON><ISBENEFICIARYCODEON>No</ISBENEFICIARYCODEON><ISUPDATINGTARGETID>No</ISUPDATINGTARGETID><ASORIGINAL>Yes</ASORIGINAL><ISCONDENSED>No</ISCONDENSED><AFFECTSSTOCK>No</AFFECTSSTOCK><ISRATEINCLUSIVEVAT>No</ISRATEINCLUSIVEVAT><FORPAYROLL>No</FORPAYROLL><ISABCENABLED>No</ISABCENABLED><ISCREDITDAYSCHKON>No</ISCREDITDAYSCHKON><INTERESTONBILLWISE>No</INTERESTONBILLWISE><OVERRIDEINTEREST>No</OVERRIDEINTEREST><OVERRIDEADVINTEREST>No</OVERRIDEADVINTEREST><USEFORVAT>No</USEFORVAT><IGNORETDSEXEMPT>No</IGNORETDSEXEMPT><ISTCSAPPLICABLE>No</ISTCSAPPLICABLE><ISTDSAPPLICABLE>No</ISTDSAPPLICABLE><ISFBTAPPLICABLE>No</ISFBTAPPLICABLE><ISGSTAPPLICABLE>No</ISGSTAPPLICABLE><ISEXCISEAPPLICABLE>No</ISEXCISEAPPLICABLE><ISTDSEXPENSE>No</ISTDSEXPENSE><ISEDLIAPPLICABLE>No</ISEDLIAPPLICABLE><ISRELATEDPARTY>No</ISRELATEDPARTY><USEFORESIELIGIBILITY>No</USEFORESIELIGIBILITY><ISINTERESTINCLLASTDAY>No</ISINTERESTINCLLASTDAY><APPROPRIATETAXVALUE>No</APPROPRIATETAXVALUE><ISBEHAVEASDUTY>No</ISBEHAVEASDUTY><INTERESTINCLDAYOFADDITION>No</INTERESTINCLDAYOFADDITION><INTERESTINCLDAYOFDEDUCTION>No</INTERESTINCLDAYOFDEDUCTION><ISOTHTERRITORYASSESSEE>No</ISOTHTERRITORYASSESSEE><OVERRIDECREDITLIMIT>No</OVERRIDECREDITLIMIT><ISAGAINSTFORMC>No</ISAGAINSTFORMC><ISCHEQUEPRINTINGENABLED>Yes</ISCHEQUEPRINTINGENABLED><ISPAYUPLOAD>No</ISPAYUPLOAD><ISPAYBATCHONLYSAL>No</ISPAYBATCHONLYSAL><ISBNFCODESUPPORTED>No</ISBNFCODESUPPORTED><ALLOWEXPORTWITHERRORS>No</ALLOWEXPORTWITHERRORS><CONSIDERPURCHASEFOREXPORT>No</CONSIDERPURCHASEFOREXPORT><ISTRANSPORTER>No</ISTRANSPORTER><USEFORNOTIONALITC>No</USEFORNOTIONALITC><ISECOMMOPERATOR>No</ISECOMMOPERATOR><SHOWINPAYSLIP>No</SHOWINPAYSLIP><USEFORGRATUITY>No</USEFORGRATUITY><ISTDSPROJECTED>No</ISTDSPROJECTED><FORSERVICETAX>No</FORSERVICETAX><ISINPUTCREDIT>No</ISINPUTCREDIT><ISEXEMPTED>No</ISEXEMPTED><ISABATEMENTAPPLICABLE>No</ISABATEMENTAPPLICABLE><ISSTXPARTY>No</ISSTXPARTY><ISSTXNONREALIZEDTYPE>No</ISSTXNONREALIZEDTYPE><ISUSEDFORCVD>No</ISUSEDFORCVD><LEDBELONGSTONONTAXABLE>No</LEDBELONGSTONONTAXABLE><ISEXCISEMERCHANTEXPORTER>No</ISEXCISEMERCHANTEXPORTER><ISPARTYEXEMPTED>No</ISPARTYEXEMPTED><ISSEZPARTY>No</ISSEZPARTY><TDSDEDUCTEEISSPECIALRATE>No</TDSDEDUCTEEISSPECIALRATE><ISECHEQUESUPPORTED>No</ISECHEQUESUPPORTED><ISEDDSUPPORTED>No</ISEDDSUPPORTED><HASECHEQUEDELIVERYMODE>No</HASECHEQUEDELIVERYMODE><HASECHEQUEDELIVERYTO>No</HASECHEQUEDELIVERYTO><HASECHEQUEPRINTLOCATION>No</HASECHEQUEPRINTLOCATION><HASECHEQUEPAYABLELOCATION>No</HASECHEQUEPAYABLELOCATION><HASECHEQUEBANKLOCATION>No</HASECHEQUEBANKLOCATION><HASEDDDELIVERYMODE>No</HASEDDDELIVERYMODE><HASEDDDELIVERYTO>No</HASEDDDELIVERYTO><HASEDDPRINTLOCATION>No</HASEDDPRINTLOCATION><HASEDDPAYABLELOCATION>No</HASEDDPAYABLELOCATION><HASEDDBANKLOCATION>No</HASEDDBANKLOCATION><ISEBANKINGENABLED>No</ISEBANKINGENABLED><ISEXPORTFILEENCRYPTED>No</ISEXPORTFILEENCRYPTED><ISBATCHENABLED>No</ISBATCHENABLED><ISPRODUCTCODEBASED>No</ISPRODUCTCODEBASED><HASEDDCITY>No</HASEDDCITY><HASECHEQUECITY>No</HASECHEQUECITY><ISFILENAMEFORMATSUPPORTED>No</ISFILENAMEFORMATSUPPORTED><HASCLIENTCODE>No</HASCLIENTCODE><PAYINSISBATCHAPPLICABLE>No</PAYINSISBATCHAPPLICABLE><PAYINSISFILENUMAPP>No</PAYINSISFILENUMAPP><ISSALARYTRANSGROUPEDFORBRS>No</ISSALARYTRANSGROUPEDFORBRS><ISEBANKINGSUPPORTED>No</ISEBANKINGSUPPORTED><ISSCBUAE>No</ISSCBUAE><ISBANKSTATUSAPP>No</ISBANKSTATUSAPP><ISSALARYGROUPED>No</ISSALARYGROUPED><USEFORPURCHASETAX>No</USEFORPURCHASETAX><AUDITED>No</AUDITED><SORTPOSITION> 1000</SORTPOSITION><ALTERID> 168</ALTERID><OPENINGBALANCE>12345.00</OPENINGBALANCE><SERVICETAXDETAILS.LIST> </SERVICETAXDETAILS.LIST><LBTREGNDETAILS.LIST> </LBTREGNDETAILS.LIST><VATDETAILS.LIST> </VATDETAILS.LIST><SALESTAXCESSDETAILS.LIST> </SALESTAXCESSDETAILS.LIST><GSTDETAILS.LIST> </GSTDETAILS.LIST><LANGUAGENAME.LIST><NAME.LIST TYPE="String"><NAME>Cash & Carry</NAME><NAME>cc</NAME></NAME.LIST><LANGUAGEID> 1033</LANGUAGEID></LANGUAGENAME.LIST><XBRLDETAIL.LIST> </XBRLDETAIL.LIST><AUDITDETAILS.LIST> </AUDITDETAILS.LIST><SCHVIDETAILS.LIST> </SCHVIDETAILS.LIST><EXCISETARIFFDETAILS.LIST> </EXCISETARIFFDETAILS.LIST><TCSCATEGORYDETAILS.LIST> </TCSCATEGORYDETAILS.LIST><TDSCATEGORYDETAILS.LIST> </TDSCATEGORYDETAILS.LIST><SLABPERIOD.LIST> </SLABPERIOD.LIST><GRATUITYPERIOD.LIST> </GRATUITYPERIOD.LIST><ADDITIONALCOMPUTATIONS.LIST> </ADDITIONALCOMPUTATIONS.LIST><EXCISEJURISDICTIONDETAILS.LIST> </EXCISEJURISDICTIONDETAILS.LIST><EXCLUDEDTAXATIONS.LIST> </EXCLUDEDTAXATIONS.LIST><BANKALLOCATIONS.LIST> </BANKALLOCATIONS.LIST><PAYMENTDETAILS.LIST> </PAYMENTDETAILS.LIST><BANKEXPORTFORMATS.LIST> </BANKEXPORTFORMATS.LIST><BILLALLOCATIONS.LIST> </BILLALLOCATIONS.LIST><INTERESTCOLLECTION.LIST> </INTERESTCOLLECTION.LIST><LEDGERCLOSINGVALUES.LIST> </LEDGERCLOSINGVALUES.LIST><LEDGERAUDITCLASS.LIST> </LEDGERAUDITCLASS.LIST><OLDAUDITENTRIES.LIST> </OLDAUDITENTRIES.LIST><TDSEXEMPTIONRULES.LIST> </TDSEXEMPTIONRULES.LIST><DEDUCTINSAMEVCHRULES.LIST> </DEDUCTINSAMEVCHRULES.LIST><LOWERDEDUCTION.LIST> </LOWERDEDUCTION.LIST><STXABATEMENTDETAILS.LIST> </STXABATEMENTDETAILS.LIST><LEDMULTIADDRESSLIST.LIST> </LEDMULTIADDRESSLIST.LIST><STXTAXDETAILS.LIST> </STXTAXDETAILS.LIST><CHEQUERANGE.LIST> </CHEQUERANGE.LIST><DEFAULTVCHCHEQUEDETAILS.LIST> </DEFAULTVCHCHEQUEDETAILS.LIST><ACCOUNTAUDITENTRIES.LIST> </ACCOUNTAUDITENTRIES.LIST><AUDITENTRIES.LIST> </AUDITENTRIES.LIST><BRSIMPORTEDINFO.LIST> </BRSIMPORTEDINFO.LIST><AUTOBRSCONFIGS.LIST> </AUTOBRSCONFIGS.LIST><BANKURENTRIES.LIST> </BANKURENTRIES.LIST><DEFAULTCHEQUEDETAILS.LIST> </DEFAULTCHEQUEDETAILS.LIST><DEFAULTOPENINGCHEQUEDETAILS.LIST> </DEFAULTOPENINGCHEQUEDETAILS.LIST><CANCELLEDPAYALLOCATIONS.LIST> </CANCELLEDPAYALLOCATIONS.LIST><ECHEQUEPRINTLOCATION.LIST> </ECHEQUEPRINTLOCATION.LIST><ECHEQUEPAYABLELOCATION.LIST> </ECHEQUEPAYABLELOCATION.LIST><EDDPRINTLOCATION.LIST> </EDDPRINTLOCATION.LIST><EDDPAYABLELOCATION.LIST> </EDDPAYABLELOCATION.LIST><AVAILABLETRANSACTIONTYPES.LIST> </AVAILABLETRANSACTIONTYPES.LIST><LEDPAYINSCONFIGS.LIST> </LEDPAYINSCONFIGS.LIST><TYPECODEDETAILS.LIST> </TYPECODEDETAILS.LIST><FIELDVALIDATIONDETAILS.LIST> </FIELDVALIDATIONDETAILS.LIST><INPUTCRALLOCS.LIST> </INPUTCRALLOCS.LIST><GSTCLASSFNIGSTRATES.LIST> </GSTCLASSFNIGSTRATES.LIST><EXTARIFFDUTYHEADDETAILS.LIST> </EXTARIFFDUTYHEADDETAILS.LIST><VOUCHERTYPEPRODUCTCODES.LIST> </VOUCHERTYPEPRODUCTCODES.LIST></LEDGER></TALLYMESSAGE></REQUESTDATA></IMPORTDATA></BODY></ENVELOPE>
3Rajesh Capital A/cCapital Account13345.00<ENVELOPE><HEADER><TALLYREQUEST>Import Data</TALLYREQUEST></HEADER><BODY><IMPORTDATA><REQUESTDESC><REPORTNAME>All Masters</REPORTNAME><STATICVARIABLES><SVCURRENTCOMPANY></SVCURRENTCOMPANY></STATICVARIABLES></REQUESTDESC><REQUESTDATA><TALLYMESSAGE xmlns:UDF="TallyUDF"><LEDGER NAME="Rajesh Capital A/c" RESERVEDNAME=""><ADDRESS.LIST TYPE="String"><ADDRESS>0</ADDRESS><ADDRESS>0</ADDRESS><ADDRESS>0</ADDRESS><ADDRESS>0</ADDRESS></ADDRESS.LIST><MAILINGNAME.LIST TYPE="String"><MAILINGNAME>Rajesh Capital A/c</MAILINGNAME></MAILINGNAME.LIST><OLDAUDITENTRYIDS.LIST TYPE="Number"><OLDAUDITENTRYIDS>-1</OLDAUDITENTRYIDS></OLDAUDITENTRYIDS.LIST><GUID></GUID><CURRENCYNAME>₹</CURRENCYNAME><PINCODE>0</PINCODE><COUNTRYNAME>India</COUNTRYNAME><GSTREGISTRATIONTYPE>0</GSTREGISTRATIONTYPE><VATDEALERTYPE>0</VATDEALERTYPE><PARENT>Capital Account</PARENT><TAXCLASSIFICATIONNAME/><TAXTYPE>Others</TAXTYPE><COUNTRYOFRESIDENCE>India</COUNTRYOFRESIDENCE><GSTTYPE/><APPROPRIATEFOR/><PARTYGSTIN>0</PARTYGSTIN><GSTNATUREOFSUPPLY/><SERVICECATEGORY></SERVICECATEGORY><EXCISELEDGERCLASSIFICATION/><EXCISEDUTYTYPE/><EXCISENATUREOFPURCHASE/><LEDGERFBTCATEGORY/><LEDSTATENAME>0</LEDSTATENAME><ISBILLWISEON>Yes</ISBILLWISEON><ISCOSTCENTRESON>No</ISCOSTCENTRESON><ISINTERESTON>No</ISINTERESTON><ALLOWINMOBILE>No</ALLOWINMOBILE><ISCOSTTRACKINGON>No</ISCOSTTRACKINGON><ISBENEFICIARYCODEON>No</ISBENEFICIARYCODEON><ISUPDATINGTARGETID>No</ISUPDATINGTARGETID><ASORIGINAL>Yes</ASORIGINAL><ISCONDENSED>No</ISCONDENSED><AFFECTSSTOCK>No</AFFECTSSTOCK><ISRATEINCLUSIVEVAT>No</ISRATEINCLUSIVEVAT><FORPAYROLL>No</FORPAYROLL><ISABCENABLED>No</ISABCENABLED><ISCREDITDAYSCHKON>No</ISCREDITDAYSCHKON><INTERESTONBILLWISE>No</INTERESTONBILLWISE><OVERRIDEINTEREST>No</OVERRIDEINTEREST><OVERRIDEADVINTEREST>No</OVERRIDEADVINTEREST><USEFORVAT>No</USEFORVAT><IGNORETDSEXEMPT>No</IGNORETDSEXEMPT><ISTCSAPPLICABLE>No</ISTCSAPPLICABLE><ISTDSAPPLICABLE>No</ISTDSAPPLICABLE><ISFBTAPPLICABLE>No</ISFBTAPPLICABLE><ISGSTAPPLICABLE>No</ISGSTAPPLICABLE><ISEXCISEAPPLICABLE>No</ISEXCISEAPPLICABLE><ISTDSEXPENSE>No</ISTDSEXPENSE><ISEDLIAPPLICABLE>No</ISEDLIAPPLICABLE><ISRELATEDPARTY>No</ISRELATEDPARTY><USEFORESIELIGIBILITY>No</USEFORESIELIGIBILITY><ISINTERESTINCLLASTDAY>No</ISINTERESTINCLLASTDAY><APPROPRIATETAXVALUE>No</APPROPRIATETAXVALUE><ISBEHAVEASDUTY>No</ISBEHAVEASDUTY><INTERESTINCLDAYOFADDITION>No</INTERESTINCLDAYOFADDITION><INTERESTINCLDAYOFDEDUCTION>No</INTERESTINCLDAYOFDEDUCTION><ISOTHTERRITORYASSESSEE>No</ISOTHTERRITORYASSESSEE><OVERRIDECREDITLIMIT>No</OVERRIDECREDITLIMIT><ISAGAINSTFORMC>No</ISAGAINSTFORMC><ISCHEQUEPRINTINGENABLED>Yes</ISCHEQUEPRINTINGENABLED><ISPAYUPLOAD>No</ISPAYUPLOAD><ISPAYBATCHONLYSAL>No</ISPAYBATCHONLYSAL><ISBNFCODESUPPORTED>No</ISBNFCODESUPPORTED><ALLOWEXPORTWITHERRORS>No</ALLOWEXPORTWITHERRORS><CONSIDERPURCHASEFOREXPORT>No</CONSIDERPURCHASEFOREXPORT><ISTRANSPORTER>No</ISTRANSPORTER><USEFORNOTIONALITC>No</USEFORNOTIONALITC><ISECOMMOPERATOR>No</ISECOMMOPERATOR><SHOWINPAYSLIP>No</SHOWINPAYSLIP><USEFORGRATUITY>No</USEFORGRATUITY><ISTDSPROJECTED>No</ISTDSPROJECTED><FORSERVICETAX>No</FORSERVICETAX><ISINPUTCREDIT>No</ISINPUTCREDIT><ISEXEMPTED>No</ISEXEMPTED><ISABATEMENTAPPLICABLE>No</ISABATEMENTAPPLICABLE><ISSTXPARTY>No</ISSTXPARTY><ISSTXNONREALIZEDTYPE>No</ISSTXNONREALIZEDTYPE><ISUSEDFORCVD>No</ISUSEDFORCVD><LEDBELONGSTONONTAXABLE>No</LEDBELONGSTONONTAXABLE><ISEXCISEMERCHANTEXPORTER>No</ISEXCISEMERCHANTEXPORTER><ISPARTYEXEMPTED>No</ISPARTYEXEMPTED><ISSEZPARTY>No</ISSEZPARTY><TDSDEDUCTEEISSPECIALRATE>No</TDSDEDUCTEEISSPECIALRATE><ISECHEQUESUPPORTED>No</ISECHEQUESUPPORTED><ISEDDSUPPORTED>No</ISEDDSUPPORTED><HASECHEQUEDELIVERYMODE>No</HASECHEQUEDELIVERYMODE><HASECHEQUEDELIVERYTO>No</HASECHEQUEDELIVERYTO><HASECHEQUEPRINTLOCATION>No</HASECHEQUEPRINTLOCATION><HASECHEQUEPAYABLELOCATION>No</HASECHEQUEPAYABLELOCATION><HASECHEQUEBANKLOCATION>No</HASECHEQUEBANKLOCATION><HASEDDDELIVERYMODE>No</HASEDDDELIVERYMODE><HASEDDDELIVERYTO>No</HASEDDDELIVERYTO><HASEDDPRINTLOCATION>No</HASEDDPRINTLOCATION><HASEDDPAYABLELOCATION>No</HASEDDPAYABLELOCATION><HASEDDBANKLOCATION>No</HASEDDBANKLOCATION><ISEBANKINGENABLED>No</ISEBANKINGENABLED><ISEXPORTFILEENCRYPTED>No</ISEXPORTFILEENCRYPTED><ISBATCHENABLED>No</ISBATCHENABLED><ISPRODUCTCODEBASED>No</ISPRODUCTCODEBASED><HASEDDCITY>No</HASEDDCITY><HASECHEQUECITY>No</HASECHEQUECITY><ISFILENAMEFORMATSUPPORTED>No</ISFILENAMEFORMATSUPPORTED><HASCLIENTCODE>No</HASCLIENTCODE><PAYINSISBATCHAPPLICABLE>No</PAYINSISBATCHAPPLICABLE><PAYINSISFILENUMAPP>No</PAYINSISFILENUMAPP><ISSALARYTRANSGROUPEDFORBRS>No</ISSALARYTRANSGROUPEDFORBRS><ISEBANKINGSUPPORTED>No</ISEBANKINGSUPPORTED><ISSCBUAE>No</ISSCBUAE><ISBANKSTATUSAPP>No</ISBANKSTATUSAPP><ISSALARYGROUPED>No</ISSALARYGROUPED><USEFORPURCHASETAX>No</USEFORPURCHASETAX><AUDITED>No</AUDITED><SORTPOSITION> 1000</SORTPOSITION><ALTERID> 168</ALTERID><OPENINGBALANCE>13345.00</OPENINGBALANCE><SERVICETAXDETAILS.LIST> </SERVICETAXDETAILS.LIST><LBTREGNDETAILS.LIST> </LBTREGNDETAILS.LIST><VATDETAILS.LIST> </VATDETAILS.LIST><SALESTAXCESSDETAILS.LIST> </SALESTAXCESSDETAILS.LIST><GSTDETAILS.LIST> </GSTDETAILS.LIST><LANGUAGENAME.LIST><NAME.LIST TYPE="String"><NAME>Rajesh Capital A/c</NAME><NAME>0</NAME></NAME.LIST><LANGUAGEID> 1033</LANGUAGEID></LANGUAGENAME.LIST><XBRLDETAIL.LIST> </XBRLDETAIL.LIST><AUDITDETAILS.LIST> </AUDITDETAILS.LIST><SCHVIDETAILS.LIST> </SCHVIDETAILS.LIST><EXCISETARIFFDETAILS.LIST> </EXCISETARIFFDETAILS.LIST><TCSCATEGORYDETAILS.LIST> </TCSCATEGORYDETAILS.LIST><TDSCATEGORYDETAILS.LIST> </TDSCATEGORYDETAILS.LIST><SLABPERIOD.LIST> </SLABPERIOD.LIST><GRATUITYPERIOD.LIST> </GRATUITYPERIOD.LIST><ADDITIONALCOMPUTATIONS.LIST> </ADDITIONALCOMPUTATIONS.LIST><EXCISEJURISDICTIONDETAILS.LIST> </EXCISEJURISDICTIONDETAILS.LIST><EXCLUDEDTAXATIONS.LIST> </EXCLUDEDTAXATIONS.LIST><BANKALLOCATIONS.LIST> </BANKALLOCATIONS.LIST><PAYMENTDETAILS.LIST> </PAYMENTDETAILS.LIST><BANKEXPORTFORMATS.LIST> </BANKEXPORTFORMATS.LIST><BILLALLOCATIONS.LIST> </BILLALLOCATIONS.LIST><INTERESTCOLLECTION.LIST> </INTERESTCOLLECTION.LIST><LEDGERCLOSINGVALUES.LIST> </LEDGERCLOSINGVALUES.LIST><LEDGERAUDITCLASS.LIST> </LEDGERAUDITCLASS.LIST><OLDAUDITENTRIES.LIST> </OLDAUDITENTRIES.LIST><TDSEXEMPTIONRULES.LIST> </TDSEXEMPTIONRULES.LIST><DEDUCTINSAMEVCHRULES.LIST> </DEDUCTINSAMEVCHRULES.LIST><LOWERDEDUCTION.LIST> </LOWERDEDUCTION.LIST><STXABATEMENTDETAILS.LIST> </STXABATEMENTDETAILS.LIST><LEDMULTIADDRESSLIST.LIST> </LEDMULTIADDRESSLIST.LIST><STXTAXDETAILS.LIST> </STXTAXDETAILS.LIST><CHEQUERANGE.LIST> </CHEQUERANGE.LIST><DEFAULTVCHCHEQUEDETAILS.LIST> </DEFAULTVCHCHEQUEDETAILS.LIST><ACCOUNTAUDITENTRIES.LIST> </ACCOUNTAUDITENTRIES.LIST><AUDITENTRIES.LIST> </AUDITENTRIES.LIST><BRSIMPORTEDINFO.LIST> </BRSIMPORTEDINFO.LIST><AUTOBRSCONFIGS.LIST> </AUTOBRSCONFIGS.LIST><BANKURENTRIES.LIST> </BANKURENTRIES.LIST><DEFAULTCHEQUEDETAILS.LIST> </DEFAULTCHEQUEDETAILS.LIST><DEFAULTOPENINGCHEQUEDETAILS.LIST> </DEFAULTOPENINGCHEQUEDETAILS.LIST><CANCELLEDPAYALLOCATIONS.LIST> </CANCELLEDPAYALLOCATIONS.LIST><ECHEQUEPRINTLOCATION.LIST> </ECHEQUEPRINTLOCATION.LIST><ECHEQUEPAYABLELOCATION.LIST> </ECHEQUEPAYABLELOCATION.LIST><EDDPRINTLOCATION.LIST> </EDDPRINTLOCATION.LIST><EDDPAYABLELOCATION.LIST> </EDDPAYABLELOCATION.LIST><AVAILABLETRANSACTIONTYPES.LIST> </AVAILABLETRANSACTIONTYPES.LIST><LEDPAYINSCONFIGS.LIST> </LEDPAYINSCONFIGS.LIST><TYPECODEDETAILS.LIST> </TYPECODEDETAILS.LIST><FIELDVALIDATIONDETAILS.LIST> </FIELDVALIDATIONDETAILS.LIST><INPUTCRALLOCS.LIST> </INPUTCRALLOCS.LIST><GSTCLASSFNIGSTRATES.LIST> </GSTCLASSFNIGSTRATES.LIST><EXTARIFFDUTYHEADDETAILS.LIST> </EXTARIFFDUTYHEADDETAILS.LIST><VOUCHERTYPEPRODUCTCODES.LIST> </VOUCHERTYPEPRODUCTCODES.LIST></LEDGER></TALLYMESSAGE></REQUESTDATA></IMPORTDATA></BODY></ENVELOPE>
4roRound OffIndirect Expenses<ENVELOPE><HEADER><TALLYREQUEST>Import Data</TALLYREQUEST></HEADER><BODY><IMPORTDATA><REQUESTDESC><REPORTNAME>All Masters</REPORTNAME><STATICVARIABLES><SVCURRENTCOMPANY></SVCURRENTCOMPANY></STATICVARIABLES></REQUESTDESC><REQUESTDATA><TALLYMESSAGE xmlns:UDF="TallyUDF"><LEDGER NAME="Round Off" RESERVEDNAME=""><ADDRESS.LIST TYPE="String"><ADDRESS>0</ADDRESS><ADDRESS>0</ADDRESS><ADDRESS>0</ADDRESS><ADDRESS>0</ADDRESS></ADDRESS.LIST><MAILINGNAME.LIST TYPE="String"><MAILINGNAME>Round Off</MAILINGNAME></MAILINGNAME.LIST><OLDAUDITENTRYIDS.LIST TYPE="Number"><OLDAUDITENTRYIDS>-1</OLDAUDITENTRYIDS></OLDAUDITENTRYIDS.LIST><GUID></GUID><CURRENCYNAME>₹</CURRENCYNAME><PINCODE>0</PINCODE><COUNTRYNAME>India</COUNTRYNAME><GSTREGISTRATIONTYPE>0</GSTREGISTRATIONTYPE><VATDEALERTYPE>0</VATDEALERTYPE><PARENT>Indirect Expenses</PARENT><TAXCLASSIFICATIONNAME/><TAXTYPE>Others</TAXTYPE><COUNTRYOFRESIDENCE>India</COUNTRYOFRESIDENCE><GSTTYPE/><APPROPRIATEFOR/><PARTYGSTIN>0</PARTYGSTIN><GSTNATUREOFSUPPLY/><SERVICECATEGORY></SERVICECATEGORY><EXCISELEDGERCLASSIFICATION/><EXCISEDUTYTYPE/><EXCISENATUREOFPURCHASE/><LEDGERFBTCATEGORY/><LEDSTATENAME>0</LEDSTATENAME><ISBILLWISEON>Yes</ISBILLWISEON><ISCOSTCENTRESON>No</ISCOSTCENTRESON><ISINTERESTON>No</ISINTERESTON><ALLOWINMOBILE>No</ALLOWINMOBILE><ISCOSTTRACKINGON>No</ISCOSTTRACKINGON><ISBENEFICIARYCODEON>No</ISBENEFICIARYCODEON><ISUPDATINGTARGETID>No</ISUPDATINGTARGETID><ASORIGINAL>Yes</ASORIGINAL><ISCONDENSED>No</ISCONDENSED><AFFECTSSTOCK>No</AFFECTSSTOCK><ISRATEINCLUSIVEVAT>No</ISRATEINCLUSIVEVAT><FORPAYROLL>No</FORPAYROLL><ISABCENABLED>No</ISABCENABLED><ISCREDITDAYSCHKON>No</ISCREDITDAYSCHKON><INTERESTONBILLWISE>No</INTERESTONBILLWISE><OVERRIDEINTEREST>No</OVERRIDEINTEREST><OVERRIDEADVINTEREST>No</OVERRIDEADVINTEREST><USEFORVAT>No</USEFORVAT><IGNORETDSEXEMPT>No</IGNORETDSEXEMPT><ISTCSAPPLICABLE>No</ISTCSAPPLICABLE><ISTDSAPPLICABLE>No</ISTDSAPPLICABLE><ISFBTAPPLICABLE>No</ISFBTAPPLICABLE><ISGSTAPPLICABLE>No</ISGSTAPPLICABLE><ISEXCISEAPPLICABLE>No</ISEXCISEAPPLICABLE><ISTDSEXPENSE>No</ISTDSEXPENSE><ISEDLIAPPLICABLE>No</ISEDLIAPPLICABLE><ISRELATEDPARTY>No</ISRELATEDPARTY><USEFORESIELIGIBILITY>No</USEFORESIELIGIBILITY><ISINTERESTINCLLASTDAY>No</ISINTERESTINCLLASTDAY><APPROPRIATETAXVALUE>No</APPROPRIATETAXVALUE><ISBEHAVEASDUTY>No</ISBEHAVEASDUTY><INTERESTINCLDAYOFADDITION>No</INTERESTINCLDAYOFADDITION><INTERESTINCLDAYOFDEDUCTION>No</INTERESTINCLDAYOFDEDUCTION><ISOTHTERRITORYASSESSEE>No</ISOTHTERRITORYASSESSEE><OVERRIDECREDITLIMIT>No</OVERRIDECREDITLIMIT><ISAGAINSTFORMC>No</ISAGAINSTFORMC><ISCHEQUEPRINTINGENABLED>Yes</ISCHEQUEPRINTINGENABLED><ISPAYUPLOAD>No</ISPAYUPLOAD><ISPAYBATCHONLYSAL>No</ISPAYBATCHONLYSAL><ISBNFCODESUPPORTED>No</ISBNFCODESUPPORTED><ALLOWEXPORTWITHERRORS>No</ALLOWEXPORTWITHERRORS><CONSIDERPURCHASEFOREXPORT>No</CONSIDERPURCHASEFOREXPORT><ISTRANSPORTER>No</ISTRANSPORTER><USEFORNOTIONALITC>No</USEFORNOTIONALITC><ISECOMMOPERATOR>No</ISECOMMOPERATOR><SHOWINPAYSLIP>No</SHOWINPAYSLIP><USEFORGRATUITY>No</USEFORGRATUITY><ISTDSPROJECTED>No</ISTDSPROJECTED><FORSERVICETAX>No</FORSERVICETAX><ISINPUTCREDIT>No</ISINPUTCREDIT><ISEXEMPTED>No</ISEXEMPTED><ISABATEMENTAPPLICABLE>No</ISABATEMENTAPPLICABLE><ISSTXPARTY>No</ISSTXPARTY><ISSTXNONREALIZEDTYPE>No</ISSTXNONREALIZEDTYPE><ISUSEDFORCVD>No</ISUSEDFORCVD><LEDBELONGSTONONTAXABLE>No</LEDBELONGSTONONTAXABLE><ISEXCISEMERCHANTEXPORTER>No</ISEXCISEMERCHANTEXPORTER><ISPARTYEXEMPTED>No</ISPARTYEXEMPTED><ISSEZPARTY>No</ISSEZPARTY><TDSDEDUCTEEISSPECIALRATE>No</TDSDEDUCTEEISSPECIALRATE><ISECHEQUESUPPORTED>No</ISECHEQUESUPPORTED><ISEDDSUPPORTED>No</ISEDDSUPPORTED><HASECHEQUEDELIVERYMODE>No</HASECHEQUEDELIVERYMODE><HASECHEQUEDELIVERYTO>No</HASECHEQUEDELIVERYTO><HASECHEQUEPRINTLOCATION>No</HASECHEQUEPRINTLOCATION><HASECHEQUEPAYABLELOCATION>No</HASECHEQUEPAYABLELOCATION><HASECHEQUEBANKLOCATION>No</HASECHEQUEBANKLOCATION><HASEDDDELIVERYMODE>No</HASEDDDELIVERYMODE><HASEDDDELIVERYTO>No</HASEDDDELIVERYTO><HASEDDPRINTLOCATION>No</HASEDDPRINTLOCATION><HASEDDPAYABLELOCATION>No</HASEDDPAYABLELOCATION><HASEDDBANKLOCATION>No</HASEDDBANKLOCATION><ISEBANKINGENABLED>No</ISEBANKINGENABLED><ISEXPORTFILEENCRYPTED>No</ISEXPORTFILEENCRYPTED><ISBATCHENABLED>No</ISBATCHENABLED><ISPRODUCTCODEBASED>No</ISPRODUCTCODEBASED><HASEDDCITY>No</HASEDDCITY><HASECHEQUECITY>No</HASECHEQUECITY><ISFILENAMEFORMATSUPPORTED>No</ISFILENAMEFORMATSUPPORTED><HASCLIENTCODE>No</HASCLIENTCODE><PAYINSISBATCHAPPLICABLE>No</PAYINSISBATCHAPPLICABLE><PAYINSISFILENUMAPP>No</PAYINSISFILENUMAPP><ISSALARYTRANSGROUPEDFORBRS>No</ISSALARYTRANSGROUPEDFORBRS><ISEBANKINGSUPPORTED>No</ISEBANKINGSUPPORTED><ISSCBUAE>No</ISSCBUAE><ISBANKSTATUSAPP>No</ISBANKSTATUSAPP><ISSALARYGROUPED>No</ISSALARYGROUPED><USEFORPURCHASETAX>No</USEFORPURCHASETAX><AUDITED>No</AUDITED><SORTPOSITION> 1000</SORTPOSITION><ALTERID> 168</ALTERID><OPENINGBALANCE>0.00</OPENINGBALANCE><SERVICETAXDETAILS.LIST> </SERVICETAXDETAILS.LIST><LBTREGNDETAILS.LIST> </LBTREGNDETAILS.LIST><VATDETAILS.LIST> </VATDETAILS.LIST><SALESTAXCESSDETAILS.LIST> </SALESTAXCESSDETAILS.LIST><GSTDETAILS.LIST> </GSTDETAILS.LIST><LANGUAGENAME.LIST><NAME.LIST TYPE="String"><NAME>Round Off</NAME><NAME>ro</NAME></NAME.LIST><LANGUAGEID> 1033</LANGUAGEID></LANGUAGENAME.LIST><XBRLDETAIL.LIST> </XBRLDETAIL.LIST><AUDITDETAILS.LIST> </AUDITDETAILS.LIST><SCHVIDETAILS.LIST> </SCHVIDETAILS.LIST><EXCISETARIFFDETAILS.LIST> </EXCISETARIFFDETAILS.LIST><TCSCATEGORYDETAILS.LIST> </TCSCATEGORYDETAILS.LIST><TDSCATEGORYDETAILS.LIST> </TDSCATEGORYDETAILS.LIST><SLABPERIOD.LIST> </SLABPERIOD.LIST><GRATUITYPERIOD.LIST> </GRATUITYPERIOD.LIST><ADDITIONALCOMPUTATIONS.LIST> </ADDITIONALCOMPUTATIONS.LIST><EXCISEJURISDICTIONDETAILS.LIST> </EXCISEJURISDICTIONDETAILS.LIST><EXCLUDEDTAXATIONS.LIST> </EXCLUDEDTAXATIONS.LIST><BANKALLOCATIONS.LIST> </BANKALLOCATIONS.LIST><PAYMENTDETAILS.LIST> </PAYMENTDETAILS.LIST><BANKEXPORTFORMATS.LIST> </BANKEXPORTFORMATS.LIST><BILLALLOCATIONS.LIST> </BILLALLOCATIONS.LIST><INTERESTCOLLECTION.LIST> </INTERESTCOLLECTION.LIST><LEDGERCLOSINGVALUES.LIST> </LEDGERCLOSINGVALUES.LIST><LEDGERAUDITCLASS.LIST> </LEDGERAUDITCLASS.LIST><OLDAUDITENTRIES.LIST> </OLDAUDITENTRIES.LIST><TDSEXEMPTIONRULES.LIST> </TDSEXEMPTIONRULES.LIST><DEDUCTINSAMEVCHRULES.LIST> </DEDUCTINSAMEVCHRULES.LIST><LOWERDEDUCTION.LIST> </LOWERDEDUCTION.LIST><STXABATEMENTDETAILS.LIST> </STXABATEMENTDETAILS.LIST><LEDMULTIADDRESSLIST.LIST> </LEDMULTIADDRESSLIST.LIST><STXTAXDETAILS.LIST> </STXTAXDETAILS.LIST><CHEQUERANGE.LIST> </CHEQUERANGE.LIST><DEFAULTVCHCHEQUEDETAILS.LIST> </DEFAULTVCHCHEQUEDETAILS.LIST><ACCOUNTAUDITENTRIES.LIST> </ACCOUNTAUDITENTRIES.LIST><AUDITENTRIES.LIST> </AUDITENTRIES.LIST><BRSIMPORTEDINFO.LIST> </BRSIMPORTEDINFO.LIST><AUTOBRSCONFIGS.LIST> </AUTOBRSCONFIGS.LIST><BANKURENTRIES.LIST> </BANKURENTRIES.LIST><DEFAULTCHEQUEDETAILS.LIST> </DEFAULTCHEQUEDETAILS.LIST><DEFAULTOPENINGCHEQUEDETAILS.LIST> </DEFAULTOPENINGCHEQUEDETAILS.LIST><CANCELLEDPAYALLOCATIONS.LIST> </CANCELLEDPAYALLOCATIONS.LIST><ECHEQUEPRINTLOCATION.LIST> </ECHEQUEPRINTLOCATION.LIST><ECHEQUEPAYABLELOCATION.LIST> </ECHEQUEPAYABLELOCATION.LIST><EDDPRINTLOCATION.LIST> </EDDPRINTLOCATION.LIST><EDDPAYABLELOCATION.LIST> </EDDPAYABLELOCATION.LIST><AVAILABLETRANSACTIONTYPES.LIST> </AVAILABLETRANSACTIONTYPES.LIST><LEDPAYINSCONFIGS.LIST> </LEDPAYINSCONFIGS.LIST><TYPECODEDETAILS.LIST> </TYPECODEDETAILS.LIST><FIELDVALIDATIONDETAILS.LIST> </FIELDVALIDATIONDETAILS.LIST><INPUTCRALLOCS.LIST> </INPUTCRALLOCS.LIST><GSTCLASSFNIGSTRATES.LIST> </GSTCLASSFNIGSTRATES.LIST><EXTARIFFDUTYHEADDETAILS.LIST> </EXTARIFFDUTYHEADDETAILS.LIST><VOUCHERTYPEPRODUCTCODES.LIST> </VOUCHERTYPEPRODUCTCODES.LIST></LEDGER></TALLYMESSAGE></REQUESTDATA></IMPORTDATA></BODY></ENVELOPE>
5JanuarySundry Debtors29xxxxx1111x1Regular# 006ITI LayoutBSK 3rd StageBangaloreKarnataka560085<ENVELOPE><HEADER><TALLYREQUEST>Import Data</TALLYREQUEST></HEADER><BODY><IMPORTDATA><REQUESTDESC><REPORTNAME>All Masters</REPORTNAME><STATICVARIABLES><SVCURRENTCOMPANY></SVCURRENTCOMPANY></STATICVARIABLES></REQUESTDESC><REQUESTDATA><TALLYMESSAGE xmlns:UDF="TallyUDF"><LEDGER NAME="January" RESERVEDNAME=""><ADDRESS.LIST TYPE="String"><ADDRESS># 006</ADDRESS><ADDRESS>ITI Layout</ADDRESS><ADDRESS>BSK 3rd Stage</ADDRESS><ADDRESS>Bangalore</ADDRESS></ADDRESS.LIST><MAILINGNAME.LIST TYPE="String"><MAILINGNAME>January</MAILINGNAME></MAILINGNAME.LIST><OLDAUDITENTRYIDS.LIST TYPE="Number"><OLDAUDITENTRYIDS>-1</OLDAUDITENTRYIDS></OLDAUDITENTRYIDS.LIST><GUID></GUID><CURRENCYNAME>₹</CURRENCYNAME><PINCODE>560085</PINCODE><COUNTRYNAME>India</COUNTRYNAME><GSTREGISTRATIONTYPE>Regular</GSTREGISTRATIONTYPE><VATDEALERTYPE>Regular</VATDEALERTYPE><PARENT>Sundry Debtors</PARENT><TAXCLASSIFICATIONNAME/><TAXTYPE>Others</TAXTYPE><COUNTRYOFRESIDENCE>India</COUNTRYOFRESIDENCE><GSTTYPE/><APPROPRIATEFOR/><PARTYGSTIN>29xxxxx1111x1</PARTYGSTIN><GSTNATUREOFSUPPLY/><SERVICECATEGORY></SERVICECATEGORY><EXCISELEDGERCLASSIFICATION/><EXCISEDUTYTYPE/><EXCISENATUREOFPURCHASE/><LEDGERFBTCATEGORY/><LEDSTATENAME>Karnataka</LEDSTATENAME><ISBILLWISEON>Yes</ISBILLWISEON><ISCOSTCENTRESON>No</ISCOSTCENTRESON><ISINTERESTON>No</ISINTERESTON><ALLOWINMOBILE>No</ALLOWINMOBILE><ISCOSTTRACKINGON>No</ISCOSTTRACKINGON><ISBENEFICIARYCODEON>No</ISBENEFICIARYCODEON><ISUPDATINGTARGETID>No</ISUPDATINGTARGETID><ASORIGINAL>Yes</ASORIGINAL><ISCONDENSED>No</ISCONDENSED><AFFECTSSTOCK>No</AFFECTSSTOCK><ISRATEINCLUSIVEVAT>No</ISRATEINCLUSIVEVAT><FORPAYROLL>No</FORPAYROLL><ISABCENABLED>No</ISABCENABLED><ISCREDITDAYSCHKON>No</ISCREDITDAYSCHKON><INTERESTONBILLWISE>No</INTERESTONBILLWISE><OVERRIDEINTEREST>No</OVERRIDEINTEREST><OVERRIDEADVINTEREST>No</OVERRIDEADVINTEREST><USEFORVAT>No</USEFORVAT><IGNORETDSEXEMPT>No</IGNORETDSEXEMPT><ISTCSAPPLICABLE>No</ISTCSAPPLICABLE><ISTDSAPPLICABLE>No</ISTDSAPPLICABLE><ISFBTAPPLICABLE>No</ISFBTAPPLICABLE><ISGSTAPPLICABLE>No</ISGSTAPPLICABLE><ISEXCISEAPPLICABLE>No</ISEXCISEAPPLICABLE><ISTDSEXPENSE>No</ISTDSEXPENSE><ISEDLIAPPLICABLE>No</ISEDLIAPPLICABLE><ISRELATEDPARTY>No</ISRELATEDPARTY><USEFORESIELIGIBILITY>No</USEFORESIELIGIBILITY><ISINTERESTINCLLASTDAY>No</ISINTERESTINCLLASTDAY><APPROPRIATETAXVALUE>No</APPROPRIATETAXVALUE><ISBEHAVEASDUTY>No</ISBEHAVEASDUTY><INTERESTINCLDAYOFADDITION>No</INTERESTINCLDAYOFADDITION><INTERESTINCLDAYOFDEDUCTION>No</INTERESTINCLDAYOFDEDUCTION><ISOTHTERRITORYASSESSEE>No</ISOTHTERRITORYASSESSEE><OVERRIDECREDITLIMIT>No</OVERRIDECREDITLIMIT><ISAGAINSTFORMC>No</ISAGAINSTFORMC><ISCHEQUEPRINTINGENABLED>Yes</ISCHEQUEPRINTINGENABLED><ISPAYUPLOAD>No</ISPAYUPLOAD><ISPAYBATCHONLYSAL>No</ISPAYBATCHONLYSAL><ISBNFCODESUPPORTED>No</ISBNFCODESUPPORTED><ALLOWEXPORTWITHERRORS>No</ALLOWEXPORTWITHERRORS><CONSIDERPURCHASEFOREXPORT>No</CONSIDERPURCHASEFOREXPORT><ISTRANSPORTER>No</ISTRANSPORTER><USEFORNOTIONALITC>No</USEFORNOTIONALITC><ISECOMMOPERATOR>No</ISECOMMOPERATOR><SHOWINPAYSLIP>No</SHOWINPAYSLIP><USEFORGRATUITY>No</USEFORGRATUITY><ISTDSPROJECTED>No</ISTDSPROJECTED><FORSERVICETAX>No</FORSERVICETAX><ISINPUTCREDIT>No</ISINPUTCREDIT><ISEXEMPTED>No</ISEXEMPTED><ISABATEMENTAPPLICABLE>No</ISABATEMENTAPPLICABLE><ISSTXPARTY>No</ISSTXPARTY><ISSTXNONREALIZEDTYPE>No</ISSTXNONREALIZEDTYPE><ISUSEDFORCVD>No</ISUSEDFORCVD><LEDBELONGSTONONTAXABLE>No</LEDBELONGSTONONTAXABLE><ISEXCISEMERCHANTEXPORTER>No</ISEXCISEMERCHANTEXPORTER><ISPARTYEXEMPTED>No</ISPARTYEXEMPTED><ISSEZPARTY>No</ISSEZPARTY><TDSDEDUCTEEISSPECIALRATE>No</TDSDEDUCTEEISSPECIALRATE><ISECHEQUESUPPORTED>No</ISECHEQUESUPPORTED><ISEDDSUPPORTED>No</ISEDDSUPPORTED><HASECHEQUEDELIVERYMODE>No</HASECHEQUEDELIVERYMODE><HASECHEQUEDELIVERYTO>No</HASECHEQUEDELIVERYTO><HASECHEQUEPRINTLOCATION>No</HASECHEQUEPRINTLOCATION><HASECHEQUEPAYABLELOCATION>No</HASECHEQUEPAYABLELOCATION><HASECHEQUEBANKLOCATION>No</HASECHEQUEBANKLOCATION><HASEDDDELIVERYMODE>No</HASEDDDELIVERYMODE><HASEDDDELIVERYTO>No</HASEDDDELIVERYTO><HASEDDPRINTLOCATION>No</HASEDDPRINTLOCATION><HASEDDPAYABLELOCATION>No</HASEDDPAYABLELOCATION><HASEDDBANKLOCATION>No</HASEDDBANKLOCATION><ISEBANKINGENABLED>No</ISEBANKINGENABLED><ISEXPORTFILEENCRYPTED>No</ISEXPORTFILEENCRYPTED><ISBATCHENABLED>No</ISBATCHENABLED><ISPRODUCTCODEBASED>No</ISPRODUCTCODEBASED><HASEDDCITY>No</HASEDDCITY><HASECHEQUECITY>No</HASECHEQUECITY><ISFILENAMEFORMATSUPPORTED>No</ISFILENAMEFORMATSUPPORTED><HASCLIENTCODE>No</HASCLIENTCODE><PAYINSISBATCHAPPLICABLE>No</PAYINSISBATCHAPPLICABLE><PAYINSISFILENUMAPP>No</PAYINSISFILENUMAPP><ISSALARYTRANSGROUPEDFORBRS>No</ISSALARYTRANSGROUPEDFORBRS><ISEBANKINGSUPPORTED>No</ISEBANKINGSUPPORTED><ISSCBUAE>No</ISSCBUAE><ISBANKSTATUSAPP>No</ISBANKSTATUSAPP><ISSALARYGROUPED>No</ISSALARYGROUPED><USEFORPURCHASETAX>No</USEFORPURCHASETAX><AUDITED>No</AUDITED><SORTPOSITION> 1000</SORTPOSITION><ALTERID> 168</ALTERID><OPENINGBALANCE>0.00</OPENINGBALANCE><SERVICETAXDETAILS.LIST> </SERVICETAXDETAILS.LIST><LBTREGNDETAILS.LIST> </LBTREGNDETAILS.LIST><VATDETAILS.LIST> </VATDETAILS.LIST><SALESTAXCESSDETAILS.LIST> </SALESTAXCESSDETAILS.LIST><GSTDETAILS.LIST> </GSTDETAILS.LIST><LANGUAGENAME.LIST><NAME.LIST TYPE="String"><NAME>January</NAME><NAME>0</NAME></NAME.LIST><LANGUAGEID> 1033</LANGUAGEID></LANGUAGENAME.LIST><XBRLDETAIL.LIST> </XBRLDETAIL.LIST><AUDITDETAILS.LIST> </AUDITDETAILS.LIST><SCHVIDETAILS.LIST> </SCHVIDETAILS.LIST><EXCISETARIFFDETAILS.LIST> </EXCISETARIFFDETAILS.LIST><TCSCATEGORYDETAILS.LIST> </TCSCATEGORYDETAILS.LIST><TDSCATEGORYDETAILS.LIST> </TDSCATEGORYDETAILS.LIST><SLABPERIOD.LIST> </SLABPERIOD.LIST><GRATUITYPERIOD.LIST> </GRATUITYPERIOD.LIST><ADDITIONALCOMPUTATIONS.LIST> </ADDITIONALCOMPUTATIONS.LIST><EXCISEJURISDICTIONDETAILS.LIST> </EXCISEJURISDICTIONDETAILS.LIST><EXCLUDEDTAXATIONS.LIST> </EXCLUDEDTAXATIONS.LIST><BANKALLOCATIONS.LIST> </BANKALLOCATIONS.LIST><PAYMENTDETAILS.LIST> </PAYMENTDETAILS.LIST><BANKEXPORTFORMATS.LIST> </BANKEXPORTFORMATS.LIST><BILLALLOCATIONS.LIST> </BILLALLOCATIONS.LIST><INTERESTCOLLECTION.LIST> </INTERESTCOLLECTION.LIST><LEDGERCLOSINGVALUES.LIST> </LEDGERCLOSINGVALUES.LIST><LEDGERAUDITCLASS.LIST> </LEDGERAUDITCLASS.LIST><OLDAUDITENTRIES.LIST> </OLDAUDITENTRIES.LIST><TDSEXEMPTIONRULES.LIST> </TDSEXEMPTIONRULES.LIST><DEDUCTINSAMEVCHRULES.LIST> </DEDUCTINSAMEVCHRULES.LIST><LOWERDEDUCTION.LIST> </LOWERDEDUCTION.LIST><STXABATEMENTDETAILS.LIST> </STXABATEMENTDETAILS.LIST><LEDMULTIADDRESSLIST.LIST> </LEDMULTIADDRESSLIST.LIST><STXTAXDETAILS.LIST> </STXTAXDETAILS.LIST><CHEQUERANGE.LIST> </CHEQUERANGE.LIST><DEFAULTVCHCHEQUEDETAILS.LIST> </DEFAULTVCHCHEQUEDETAILS.LIST><ACCOUNTAUDITENTRIES.LIST> </ACCOUNTAUDITENTRIES.LIST><AUDITENTRIES.LIST> </AUDITENTRIES.LIST><BRSIMPORTEDINFO.LIST> </BRSIMPORTEDINFO.LIST><AUTOBRSCONFIGS.LIST> </AUTOBRSCONFIGS.LIST><BANKURENTRIES.LIST> </BANKURENTRIES.LIST><DEFAULTCHEQUEDETAILS.LIST> </DEFAULTCHEQUEDETAILS.LIST><DEFAULTOPENINGCHEQUEDETAILS.LIST> </DEFAULTOPENINGCHEQUEDETAILS.LIST><CANCELLEDPAYALLOCATIONS.LIST> </CANCELLEDPAYALLOCATIONS.LIST><ECHEQUEPRINTLOCATION.LIST> </ECHEQUEPRINTLOCATION.LIST><ECHEQUEPAYABLELOCATION.LIST> </ECHEQUEPAYABLELOCATION.LIST><EDDPRINTLOCATION.LIST> </EDDPRINTLOCATION.LIST><EDDPAYABLELOCATION.LIST> </EDDPAYABLELOCATION.LIST><AVAILABLETRANSACTIONTYPES.LIST> </AVAILABLETRANSACTIONTYPES.LIST><LEDPAYINSCONFIGS.LIST> </LEDPAYINSCONFIGS.LIST><TYPECODEDETAILS.LIST> </TYPECODEDETAILS.LIST><FIELDVALIDATIONDETAILS.LIST> </FIELDVALIDATIONDETAILS.LIST><INPUTCRALLOCS.LIST> </INPUTCRALLOCS.LIST><GSTCLASSFNIGSTRATES.LIST> </GSTCLASSFNIGSTRATES.LIST><EXTARIFFDUTYHEADDETAILS.LIST> </EXTARIFFDUTYHEADDETAILS.LIST><VOUCHERTYPEPRODUCTCODES.LIST> </VOUCHERTYPEPRODUCTCODES.LIST></LEDGER></TALLYMESSAGE></REQUESTDATA></IMPORTDATA></BODY></ENVELOPE>
6FebruarySundry Debtors29xxxxx1111x2Regular# 007ITI LayoutBSK 3rd StageBangaloreKarnataka560085<ENVELOPE><HEADER><TALLYREQUEST>Import Data</TALLYREQUEST></HEADER><BODY><IMPORTDATA><REQUESTDESC><REPORTNAME>All Masters</REPORTNAME><STATICVARIABLES><SVCURRENTCOMPANY></SVCURRENTCOMPANY></STATICVARIABLES></REQUESTDESC><REQUESTDATA><TALLYMESSAGE xmlns:UDF="TallyUDF"><LEDGER NAME="February" RESERVEDNAME=""><ADDRESS.LIST TYPE="String"><ADDRESS># 007</ADDRESS><ADDRESS>ITI Layout</ADDRESS><ADDRESS>BSK 3rd Stage</ADDRESS><ADDRESS>Bangalore</ADDRESS></ADDRESS.LIST><MAILINGNAME.LIST TYPE="String"><MAILINGNAME>February</MAILINGNAME></MAILINGNAME.LIST><OLDAUDITENTRYIDS.LIST TYPE="Number"><OLDAUDITENTRYIDS>-1</OLDAUDITENTRYIDS></OLDAUDITENTRYIDS.LIST><GUID></GUID><CURRENCYNAME>₹</CURRENCYNAME><PINCODE>560085</PINCODE><COUNTRYNAME>India</COUNTRYNAME><GSTREGISTRATIONTYPE>Regular</GSTREGISTRATIONTYPE><VATDEALERTYPE>Regular</VATDEALERTYPE><PARENT>Sundry Debtors</PARENT><TAXCLASSIFICATIONNAME/><TAXTYPE>Others</TAXTYPE><COUNTRYOFRESIDENCE>India</COUNTRYOFRESIDENCE><GSTTYPE/><APPROPRIATEFOR/><PARTYGSTIN>29xxxxx1111x2</PARTYGSTIN><GSTNATUREOFSUPPLY/><SERVICECATEGORY></SERVICECATEGORY><EXCISELEDGERCLASSIFICATION/><EXCISEDUTYTYPE/><EXCISENATUREOFPURCHASE/><LEDGERFBTCATEGORY/><LEDSTATENAME>Karnataka</LEDSTATENAME><ISBILLWISEON>Yes</ISBILLWISEON><ISCOSTCENTRESON>No</ISCOSTCENTRESON><ISINTERESTON>No</ISINTERESTON><ALLOWINMOBILE>No</ALLOWINMOBILE><ISCOSTTRACKINGON>No</ISCOSTTRACKINGON><ISBENEFICIARYCODEON>No</ISBENEFICIARYCODEON><ISUPDATINGTARGETID>No</ISUPDATINGTARGETID><ASORIGINAL>Yes</ASORIGINAL><ISCONDENSED>No</ISCONDENSED><AFFECTSSTOCK>No</AFFECTSSTOCK><ISRATEINCLUSIVEVAT>No</ISRATEINCLUSIVEVAT><FORPAYROLL>No</FORPAYROLL><ISABCENABLED>No</ISABCENABLED><ISCREDITDAYSCHKON>No</ISCREDITDAYSCHKON><INTERESTONBILLWISE>No</INTERESTONBILLWISE><OVERRIDEINTEREST>No</OVERRIDEINTEREST><OVERRIDEADVINTEREST>No</OVERRIDEADVINTEREST><USEFORVAT>No</USEFORVAT><IGNORETDSEXEMPT>No</IGNORETDSEXEMPT><ISTCSAPPLICABLE>No</ISTCSAPPLICABLE><ISTDSAPPLICABLE>No</ISTDSAPPLICABLE><ISFBTAPPLICABLE>No</ISFBTAPPLICABLE><ISGSTAPPLICABLE>No</ISGSTAPPLICABLE><ISEXCISEAPPLICABLE>No</ISEXCISEAPPLICABLE><ISTDSEXPENSE>No</ISTDSEXPENSE><ISEDLIAPPLICABLE>No</ISEDLIAPPLICABLE><ISRELATEDPARTY>No</ISRELATEDPARTY><USEFORESIELIGIBILITY>No</USEFORESIELIGIBILITY><ISINTERESTINCLLASTDAY>No</ISINTERESTINCLLASTDAY><APPROPRIATETAXVALUE>No</APPROPRIATETAXVALUE><ISBEHAVEASDUTY>No</ISBEHAVEASDUTY><INTERESTINCLDAYOFADDITION>No</INTERESTINCLDAYOFADDITION><INTERESTINCLDAYOFDEDUCTION>No</INTERESTINCLDAYOFDEDUCTION><ISOTHTERRITORYASSESSEE>No</ISOTHTERRITORYASSESSEE><OVERRIDECREDITLIMIT>No</OVERRIDECREDITLIMIT><ISAGAINSTFORMC>No</ISAGAINSTFORMC><ISCHEQUEPRINTINGENABLED>Yes</ISCHEQUEPRINTINGENABLED><ISPAYUPLOAD>No</ISPAYUPLOAD><ISPAYBATCHONLYSAL>No</ISPAYBATCHONLYSAL><ISBNFCODESUPPORTED>No</ISBNFCODESUPPORTED><ALLOWEXPORTWITHERRORS>No</ALLOWEXPORTWITHERRORS><CONSIDERPURCHASEFOREXPORT>No</CONSIDERPURCHASEFOREXPORT><ISTRANSPORTER>No</ISTRANSPORTER><USEFORNOTIONALITC>No</USEFORNOTIONALITC><ISECOMMOPERATOR>No</ISECOMMOPERATOR><SHOWINPAYSLIP>No</SHOWINPAYSLIP><USEFORGRATUITY>No</USEFORGRATUITY><ISTDSPROJECTED>No</ISTDSPROJECTED><FORSERVICETAX>No</FORSERVICETAX><ISINPUTCREDIT>No</ISINPUTCREDIT><ISEXEMPTED>No</ISEXEMPTED><ISABATEMENTAPPLICABLE>No</ISABATEMENTAPPLICABLE><ISSTXPARTY>No</ISSTXPARTY><ISSTXNONREALIZEDTYPE>No</ISSTXNONREALIZEDTYPE><ISUSEDFORCVD>No</ISUSEDFORCVD><LEDBELONGSTONONTAXABLE>No</LEDBELONGSTONONTAXABLE><ISEXCISEMERCHANTEXPORTER>No</ISEXCISEMERCHANTEXPORTER><ISPARTYEXEMPTED>No</ISPARTYEXEMPTED><ISSEZPARTY>No</ISSEZPARTY><TDSDEDUCTEEISSPECIALRATE>No</TDSDEDUCTEEISSPECIALRATE><ISECHEQUESUPPORTED>No</ISECHEQUESUPPORTED><ISEDDSUPPORTED>No</ISEDDSUPPORTED><HASECHEQUEDELIVERYMODE>No</HASECHEQUEDELIVERYMODE><HASECHEQUEDELIVERYTO>No</HASECHEQUEDELIVERYTO><HASECHEQUEPRINTLOCATION>No</HASECHEQUEPRINTLOCATION><HASECHEQUEPAYABLELOCATION>No</HASECHEQUEPAYABLELOCATION><HASECHEQUEBANKLOCATION>No</HASECHEQUEBANKLOCATION><HASEDDDELIVERYMODE>No</HASEDDDELIVERYMODE><HASEDDDELIVERYTO>No</HASEDDDELIVERYTO><HASEDDPRINTLOCATION>No</HASEDDPRINTLOCATION><HASEDDPAYABLELOCATION>No</HASEDDPAYABLELOCATION><HASEDDBANKLOCATION>No</HASEDDBANKLOCATION><ISEBANKINGENABLED>No</ISEBANKINGENABLED><ISEXPORTFILEENCRYPTED>No</ISEXPORTFILEENCRYPTED><ISBATCHENABLED>No</ISBATCHENABLED><ISPRODUCTCODEBASED>No</ISPRODUCTCODEBASED><HASEDDCITY>No</HASEDDCITY><HASECHEQUECITY>No</HASECHEQUECITY><ISFILENAMEFORMATSUPPORTED>No</ISFILENAMEFORMATSUPPORTED><HASCLIENTCODE>No</HASCLIENTCODE><PAYINSISBATCHAPPLICABLE>No</PAYINSISBATCHAPPLICABLE><PAYINSISFILENUMAPP>No</PAYINSISFILENUMAPP><ISSALARYTRANSGROUPEDFORBRS>No</ISSALARYTRANSGROUPEDFORBRS><ISEBANKINGSUPPORTED>No</ISEBANKINGSUPPORTED><ISSCBUAE>No</ISSCBUAE><ISBANKSTATUSAPP>No</ISBANKSTATUSAPP><ISSALARYGROUPED>No</ISSALARYGROUPED><USEFORPURCHASETAX>No</USEFORPURCHASETAX><AUDITED>No</AUDITED><SORTPOSITION> 1000</SORTPOSITION><ALTERID> 168</ALTERID><OPENINGBALANCE>0.00</OPENINGBALANCE><SERVICETAXDETAILS.LIST> </SERVICETAXDETAILS.LIST><LBTREGNDETAILS.LIST> </LBTREGNDETAILS.LIST><VATDETAILS.LIST> </VATDETAILS.LIST><SALESTAXCESSDETAILS.LIST> </SALESTAXCESSDETAILS.LIST><GSTDETAILS.LIST> </GSTDETAILS.LIST><LANGUAGENAME.LIST><NAME.LIST TYPE="String"><NAME>February</NAME><NAME>0</NAME></NAME.LIST><LANGUAGEID> 1033</LANGUAGEID></LANGUAGENAME.LIST><XBRLDETAIL.LIST> </XBRLDETAIL.LIST><AUDITDETAILS.LIST> </AUDITDETAILS.LIST><SCHVIDETAILS.LIST> </SCHVIDETAILS.LIST><EXCISETARIFFDETAILS.LIST> </EXCISETARIFFDETAILS.LIST><TCSCATEGORYDETAILS.LIST> </TCSCATEGORYDETAILS.LIST><TDSCATEGORYDETAILS.LIST> </TDSCATEGORYDETAILS.LIST><SLABPERIOD.LIST> </SLABPERIOD.LIST><GRATUITYPERIOD.LIST> </GRATUITYPERIOD.LIST><ADDITIONALCOMPUTATIONS.LIST> </ADDITIONALCOMPUTATIONS.LIST><EXCISEJURISDICTIONDETAILS.LIST> </EXCISEJURISDICTIONDETAILS.LIST><EXCLUDEDTAXATIONS.LIST> </EXCLUDEDTAXATIONS.LIST><BANKALLOCATIONS.LIST> </BANKALLOCATIONS.LIST><PAYMENTDETAILS.LIST> </PAYMENTDETAILS.LIST><BANKEXPORTFORMATS.LIST> </BANKEXPORTFORMATS.LIST><BILLALLOCATIONS.LIST> </BILLALLOCATIONS.LIST><INTERESTCOLLECTION.LIST> </INTERESTCOLLECTION.LIST><LEDGERCLOSINGVALUES.LIST> </LEDGERCLOSINGVALUES.LIST><LEDGERAUDITCLASS.LIST> </LEDGERAUDITCLASS.LIST><OLDAUDITENTRIES.LIST> </OLDAUDITENTRIES.LIST><TDSEXEMPTIONRULES.LIST> </TDSEXEMPTIONRULES.LIST><DEDUCTINSAMEVCHRULES.LIST> </DEDUCTINSAMEVCHRULES.LIST><LOWERDEDUCTION.LIST> </LOWERDEDUCTION.LIST><STXABATEMENTDETAILS.LIST> </STXABATEMENTDETAILS.LIST><LEDMULTIADDRESSLIST.LIST> </LEDMULTIADDRESSLIST.LIST><STXTAXDETAILS.LIST> </STXTAXDETAILS.LIST><CHEQUERANGE.LIST> </CHEQUERANGE.LIST><DEFAULTVCHCHEQUEDETAILS.LIST> </DEFAULTVCHCHEQUEDETAILS.LIST><ACCOUNTAUDITENTRIES.LIST> </ACCOUNTAUDITENTRIES.LIST><AUDITENTRIES.LIST> </AUDITENTRIES.LIST><BRSIMPORTEDINFO.LIST> </BRSIMPORTEDINFO.LIST><AUTOBRSCONFIGS.LIST> </AUTOBRSCONFIGS.LIST><BANKURENTRIES.LIST> </BANKURENTRIES.LIST><DEFAULTCHEQUEDETAILS.LIST> </DEFAULTCHEQUEDETAILS.LIST><DEFAULTOPENINGCHEQUEDETAILS.LIST> </DEFAULTOPENINGCHEQUEDETAILS.LIST><CANCELLEDPAYALLOCATIONS.LIST> </CANCELLEDPAYALLOCATIONS.LIST><ECHEQUEPRINTLOCATION.LIST> </ECHEQUEPRINTLOCATION.LIST><ECHEQUEPAYABLELOCATION.LIST> </ECHEQUEPAYABLELOCATION.LIST><EDDPRINTLOCATION.LIST> </EDDPRINTLOCATION.LIST><EDDPAYABLELOCATION.LIST> </EDDPAYABLELOCATION.LIST><AVAILABLETRANSACTIONTYPES.LIST> </AVAILABLETRANSACTIONTYPES.LIST><LEDPAYINSCONFIGS.LIST> </LEDPAYINSCONFIGS.LIST><TYPECODEDETAILS.LIST> </TYPECODEDETAILS.LIST><FIELDVALIDATIONDETAILS.LIST> </FIELDVALIDATIONDETAILS.LIST><INPUTCRALLOCS.LIST> </INPUTCRALLOCS.LIST><GSTCLASSFNIGSTRATES.LIST> </GSTCLASSFNIGSTRATES.LIST><EXTARIFFDUTYHEADDETAILS.LIST> </EXTARIFFDUTYHEADDETAILS.LIST><VOUCHERTYPEPRODUCTCODES.LIST> </VOUCHERTYPEPRODUCTCODES.LIST></LEDGER></TALLYMESSAGE></REQUESTDATA></IMPORTDATA></BODY></ENVELOPE>
MasterData
Cell Formulas
RangeFormula
AU2:AU6,AO2:AO6AO2=B2
AQ2:AQ6AQ2=F2
AS2:AS6AS2=G2
AW2:AW6AW2=I2
AY2:AY6AY2=AO2
BA2:BA6BA2=K2
BC2:BC6BC2=E2
BE2:BE6BE2=BC2
BG2:BG6BG2=C2
BI2:BI6BI2=D2
BK2:BK6BK2=J2
BO2:BO6BO2=L2
BQ2:BQ6BQ2=AO2
BS2:BS6BS2=A2
Cells with Data Validation
CellAllowCriteria
E2:E6List=$W$2:$W$6
C2:C6List=$U$2:$U$46
J2:J6List=$R$2:$R$38
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
R u looking for this

Sub SaveAsMasterXML()

Dim rngData As Range
Dim strData As String
Dim strTempFile As String
Dim x As Long, y As Long
Dim usr As String



Sheets("MasterData").Activate

y = Sheets("MasterData").Range("AA2").CurrentRegion.Columns.Count
x = Sheets("MasterData").Range("B2").CurrentRegion.Rows.Count - 1

Range("AA2").Resize(x, y).Copy


End Sub
 
Upvote 0
Solution
R u looking for this

Sub SaveAsMasterXML()

Dim rngData As Range
Dim strData As String
Dim strTempFile As String
Dim x As Long, y As Long
Dim usr As String



Sheets("MasterData").Activate

y = Sheets("MasterData").Range("AA2").CurrentRegion.Columns.Count
x = Sheets("MasterData").Range("B2").CurrentRegion.Rows.Count - 1

Range("AA2").Resize(x, y).Copy


End Sub
The code is selecting all the columns from AA to BX. This part is good. But the row part, it should select only as per Row B. As there are entries from B2 to B24, I want it to select AA2 to BX24. Can you please alter the code in such a way.?
If there are entries in 100 rows say B2 B101 then it should select the same number of rows from AA2 tp BX101 and so on
 
Upvote 0
I am confused

But the row part, it should select only as per Row B. As there are entries from B2 to B24

There is no row B, i think you mean Column B. There are no entries from B2 to B24
in you data set it is only from B2 to B6
 
Upvote 0
I am confused



There is no row B, i think you mean Column B. There are no entries from B2 to B24
in you data set it is only from B2 to B6
Then it should select as many rows from AA2 to BX6 only. As the data was huge I selected only 6 rows and posted it
 
Upvote 0
Thats what the code's result is!
No. It is selecting AA2 to BX2500. I want it to select only AA2 to BX6. The code has to count the number of rows in Column B which has data and then select as many rows from AA: BX
 
Upvote 0
Check the dotted lines. It is the area it is selecting.... I think you are missing this part..
Range("B" & Rows.Count).End(xlUp).Row).Rows.Count
 

Attachments

  • Untitled.png
    Untitled.png
    90.4 KB · Views: 9
Upvote 0
R u looking for this

Sub SaveAsMasterXML()

Dim rngData As Range
Dim strData As String
Dim strTempFile As String
Dim x As Long, y As Long
Dim usr As String



Sheets("MasterData").Activate

y = Sheets("MasterData").Range("AA2").CurrentRegion.Columns.Count
x = Sheets("MasterData").Range("B2").CurrentRegion.Rows.Count - 1

Range("AA2").Resize(x, y).Copy


End Sub
The code is perfect CA_Punit. Thanks.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top