Hello Dear,
You want to do multiple operation in one go.I think this post will help you
out little bit.

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

Sub DeleteSheet(strSheetName As String)
With ActiveSheet
        .Range("B10:B14").Font.ColorIndex = 1
        .PrintOut
            End With
' deletes a sheet named strSheetName in the active workbook
    Application.DisplayAlerts = False
    Sheets(ActiveSheet).Delete
    Application.DisplayAlerts = True
End Sub


'''''''''''''''''''''''''''''''''''''''''''''''''Note Active Sheet Is The
Sheet Where You Performing Task
''''''''''''''''''''''''''''''''''''''''''''''''For Unique value u can add
find unique value code in Range
'''''''''''''''''''''''''''''''''''''''''''''''Which Is already Discussed

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''




Hope it will Help
Happy to Help
:)
Shyam

On Wed, Mar 17, 2010 at 7:30 AM, OSAVentures Calamba <osav...@gmail.com>wrote:

> *Dear VBA experts,*
>
> I have a database( excel 2003 spreadsheet) with various columns.  I have
> dynamically named each column for me to execute a a sum, lookup, or count
> later with less confusion.
>
> I want to create a code to insert a temporary "report sheet" to populate
> say column A with unique records and then using the extracted unique records
> as criteria ( column A ) to lookup values in the database appearing in
> column b ( or next empty column) the total at the next empty row  with bold
> font. Afterwards, I want to print preview the temporary worksheet. I want to
> delete the temporary "report sheet" after printing.
>
> I can do this manually but its better to do it VBA.  Any suggestion please.
> Thanks in advance.
>
>
> davegla
>
>  --
>
> ----------------------------------------------------------------------------------
> Some important links for excel users:
> 1. Follow us on TWITTER for tips tricks and links :
> http://twitter.com/exceldailytip
> 2. Join our Facebook Group @
> http://www.facebook.com/group.php?gid=287779555678
> 3. Excel tutorials at http://www.excel-macros.blogspot.com
> 4. Learn VBA Macros at http://www.quickvba.blogspot.com
> 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
>
> To post to this group, send email to excel-macros@googlegroups.com
>
> <><><><><><><><><><><><><><><><><><><><><><>
> HELP US GROW !!
>
> We reach over 6,800 subscribers worldwide and receive many nice notes about
> the learning and support from the group.Let friends and co-workers know they
> can subscribe to group at
> http://groups.google.com/group/excel-macros/subscribe




-- 

Thanks Regards
Shyam
Software Engineer
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
When one door of happiness closes, another opens;
but often we look so long at the closed door that we do not see the
one which has been opened for us.
- Helen Keller
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Wenn eine Tür des Glücks schließt, öffnet sich ein weiteres,
aber oft schauen wir so lange auf die geschlossene Tür,
dass wir nicht sehen ein, die für uns geöffnet wurde. - Helen Keller
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our Facebook Group @ http://www.facebook.com/group.php?gid=287779555678
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,800 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe

Reply via email to