User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 456,601 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,464 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 920 | Replies: 2
Reply
Join Date: Jul 2007
Posts: 113
Reputation: tgifgemini is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
tgifgemini tgifgemini is offline Offline
Junior Poster

VB 6.0 - How to programatically add a comment to spreadsheet

  #1  
Sep 7th, 2007
Good people,
Please can someone show me how I can add a permanent comment to the end (footer) of my spreadsheet. I want this comment to be visible when the spreadsheet is printed.

I know how to add the comment on the spreadsheet that is visible only when you hover the cursor on it. But I want to hard-code it in my module.
Thanks,
tgifgemini
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2006
Posts: 743
Reputation: QVeen72 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 101
QVeen72's Avatar
QVeen72 QVeen72 is offline Offline
Master Poster

Re: VB 6.0 - How to programatically add a comment to spreadsheet

  #2  
Sep 8th, 2007
Hi tgif,

I think u want a Custimized Page Footer. This is how you do it :

  1. ActiveSheet.PageSetup.PrintArea = ""
  2. With ActiveSheet.PageSetup
  3. .LeftHeader = ""
  4. .CenterHeader = ""
  5. .RightHeader = ""
  6. .LeftFooter = "New Page Footer "
  7. .CenterFooter = ""
  8. .RightFooter = ""
  9. End With

REgards
Veena
Last edited by QVeen72 : Sep 8th, 2007 at 7:43 am.
Reply With Quote  
Join Date: Jul 2007
Posts: 113
Reputation: tgifgemini is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
tgifgemini tgifgemini is offline Offline
Junior Poster

Re: VB 6.0 - How to programatically add a comment to spreadsheet

  #3  
Sep 10th, 2007
Hi Veena,
Haven't heard from you in a while. I hope everything is okay with you.
Thanks for your input. objective accomplished.
Have a good day.
tgif.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 7:03 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC