Jump to content

Recommended Posts

I'm pretty good with excel, but not with VB script.

 

I have a drop-down list populated from a named range  (say, of names).  Upon selecting a name from this list, all of the other fields on the page get updated from the master worksheet.

 

Here's the goal -- I want to be able to print off a copy of the updated values for each person in the dropdown with one click of the button.  There are 50+ people, I don't want to have to click the drop-down each time, hit print, and repeat, 50+ times.

 

Seems like it should be easy to do with a script that either (a) iterates though the list and prints each one or (b) iterates through the list, makes a new sheet in a new workbook with the values only (no references), and then print that entire temporary workbook, with 50+ sheets.  Personally, I think (a) is very easy, but I'm sure screen updates and print queues are invovled.

 

HELP!  ???

Link to comment
https://forums.phpfreaks.com/topic/95677-ms-excel-vb-script-help/
Share on other sites

It's been a while since I did anything with VBA (Visual Basic for Applications) that is built into Excel, but I think that actually might be more than you need.

 

It sounds like you might need to do this on a regular basis, not just this one time, correct?

 

If that is the case, then I think you can simply go to "Tools", then "Macro", then "Record New Macro". This will allow you to walk through doing this manually once (through all 50), then save the macro and run when you need to.

 

If that doesnt help, I've used http://www.ozgrid.com/VBA/ previously to learn or find a solution to what I was needing.

 

Hope that helps, espcially for all the help you have provided.

Really? No one? The one time I need help ;-( LOL

I find that once you reach a certain level of competency the questions you post are unanswerable by almost everyone.

No kidding... I think I've posted maybe 10 times total, and I'm 0-for-10.  Maybe we need a "superfreaks" forum ;-)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.