THANK YOU VERY MUCH SIR

On Wed, Jan 25, 2012 at 5:09 PM, Sam Mathai Chacko <samde...@gmail.com>wrote:

> Should be
>
>
> Private Sub cmdsave_Click()
> With Sheet1
> With UserForm1
> Range("F3") = .Name
> Range("F4") = .txtdesign
> Range("F6") = .txtdob
> Range("F7") = .txtdoj
> Range("F8") = .txtdor
> Range("F11") = .txtdor
> Range("E11") = .txtdoj
> Range("D29") = .txtpay
> Range("H29") = .cbogp
> Range("B40") = .txtpay
> Range("E40") = .txtGP
> Range("H40") = .txtda
> End With
>
> With Sheet2
> Sheet1.Range("F4").Value = .txtpay
> Sheet1.Range("G22").Value = .txtpay
> Sheet1.Range("G27").Value = .txtpay
>
> End With
> End With
> End Sub
>
> End Sub
>
> Regards,
>
> Sam Mathai Chacko
>
> On Wed, Jan 25, 2012 at 11:04 AM, Shankar Bheema 
> <shankar.n...@gmail.com>wrote:
>
>> Dear experts
>>
>> I tried with the attached excel form.  I am getting an error while
>> compilation.
>>
>> Please explain how the F3 cell of the sheet will recognise the text when
>> we represent it like ".Name,.Pay,.DOB etc.
>>
>> Printing portion is doing well.
>>
>> regards
>> shankar
>>
>>
>> On Tue, Jan 24, 2012 at 3:22 PM, Shankar Bheema 
>> <shankar.n...@gmail.com>wrote:
>>
>>> Thank you very much.
>>>
>>>
>>> On Mon, Jan 23, 2012 at 11:13 PM, Sam Mathai Chacko 
>>> <samde...@gmail.com>wrote:
>>>
>>>> And for printing
>>>>
>>>> Private Sub CommandButton2_Click()
>>>>
>>>>     Worksheets("Page1").PrintOut
>>>>     Worksheets("Page2").PrintOut
>>>>
>>>> End Sub
>>>>
>>>> Regards,
>>>>
>>>> Sam Mathai Chacko
>>>>
>>>>
>>>> On Mon, Jan 23, 2012 at 6:44 PM, NOORAIN ANSARI <
>>>> noorain.ans...@gmail.com> wrote:
>>>>
>>>>> Dear Bheema,
>>>>>
>>>>> use below code format for your query..
>>>>>
>>>>> Private Sub cmdsave_Click()
>>>>>
>>>>> With Sheet1
>>>>> with Userform1
>>>>> .Range("F3")=.Name
>>>>> .Range("F4")=.Design
>>>>> .Range("F6")=.Dob
>>>>> .Range("F7")=.Doj
>>>>> .Range("F8")=.DOR
>>>>> .Range("F11")=.DOR
>>>>> .Range("E11")=.DOJ
>>>>> .Range("D29")=.Pay
>>>>> .Range("H29")=.GP
>>>>> .Range("B40")=.Pay
>>>>> .Range("E40")=.GP
>>>>> .Range("H40")=.Da
>>>>> End with
>>>>>
>>>>> With Sheet2
>>>>> Sheet1.Range("F4").value=.Pay
>>>>> Sheet1.Range("G22").value=.Pay
>>>>> Sheet1.Range("G27").value=.Pay
>>>>> End With
>>>>> End With
>>>>> End Sub
>>>>>
>>>>>
>>>>> --
>>>>> Thanks & regards,
>>>>> Noorain Ansari
>>>>>  
>>>>> *http://excelmacroworld.blogspot.com/*<http://excelmacroworld.blogspot.com/>
>>>>>  
>>>>> *http://noorain-ansari.blogspot.com/*<http://noorain-ansari.blogspot.com/>
>>>>>
>>>>>
>>>>> On Mon, Jan 23, 2012 at 1:33 PM, Shankar Bheema <
>>>>> shankar.n...@gmail.com> wrote:
>>>>>
>>>>>> Dear Experts
>>>>>>
>>>>>> In the attached excel workbook contains two sheets page1 and page 2.
>>>>>> Page1 is the first page of the application and the page 2 is the second
>>>>>> page.
>>>>>> The data entered in the userform would be saved corresponding cell
>>>>>> (colored as red) in the workbook.
>>>>>>
>>>>>> I divided the application form in two sheets for the convenience of
>>>>>> the data entry but how to print  one after another with the single click 
>>>>>> on
>>>>>> the print command button placed in the excel workbook ?
>>>>>>
>>>>>> regards
>>>>>> shankar
>>>>>>
>>>>>> --
>>>>>> FORUM RULES (986+ members already BANNED for violation)
>>>>>>
>>>>>> 1) Use concise, accurate thread titles. Poor thread titles, like
>>>>>> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>>>>> Advice will not get quick attention or may not be answered.
>>>>>>
>>>>>> 2) Don't post a question in the thread of another member.
>>>>>>
>>>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>>>> measure.
>>>>>>
>>>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>>>
>>>>>> 5) Cross-promotion of, or links to, forums competitive to this forum
>>>>>> in signatures are prohibited.
>>>>>>
>>>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>>>> Forum owners and members are not responsible for any loss.
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------------------------------
>>>>>> To post to this group, send email to excel-macros@googlegroups.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  --
>>>>> FORUM RULES (986+ members already BANNED for violation)
>>>>>
>>>>> 1) Use concise, accurate thread titles. Poor thread titles, like
>>>>> Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need
>>>>> Advice will not get quick attention or may not be answered.
>>>>>
>>>>> 2) Don't post a question in the thread of another member.
>>>>>
>>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>>> measure.
>>>>>
>>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>>
>>>>> 5) Cross-promotion of, or links to, forums competitive to this forum
>>>>> in signatures are prohibited.
>>>>>
>>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>>> Forum owners and members are not responsible for any loss.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------------------------------
>>>>> To post to this group, send email to excel-macros@googlegroups.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Sam Mathai Chacko
>>>>
>>>>  --
>>>> FORUM RULES (986+ members already BANNED for violation)
>>>>
>>>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>>>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>>>> will not get quick attention or may not be answered.
>>>>
>>>> 2) Don't post a question in the thread of another member.
>>>>
>>>> 3) Don't post questions regarding breaking or bypassing any security
>>>> measure.
>>>>
>>>> 4) Acknowledge the responses you receive, good or bad.
>>>>
>>>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>>>> signatures are prohibited.
>>>>
>>>> NOTE : Don't ever post personal or confidential data in a workbook.
>>>> Forum owners and members are not responsible for any loss.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------------------------------
>>>> To post to this group, send email to excel-macros@googlegroups.com
>>>>
>>>
>>>
>>  --
>> FORUM RULES (986+ members already BANNED for violation)
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>>
>> 2) Don't post a question in the thread of another member.
>>
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>>
>> 4) Acknowledge the responses you receive, good or bad.
>>
>> 5) Cross-promotion of, or links to, forums competitive to this forum in
>> signatures are prohibited.
>>
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum
>> owners and members are not responsible for any loss.
>>
>>
>> ------------------------------------------------------------------------------------------------------
>> To post to this group, send email to excel-macros@googlegroups.com
>>
>
>
>
> --
> Sam Mathai Chacko
>
> --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to