Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-08-2018, 03:21 AM
p45cal's Avatar
p45cal p45cal is offline creating a named row for dynamic addressing Windows 10 creating a named row for dynamic addressing Office 2016
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default


If a sheet is hidden it has to be unhidden before printing, however briefly. This process can be largely hidden from the user with the likes of:
Code:
Application.ScreenUpdating = False
With Sheets("Sheet1")
  originalVisibility = .Visible
  .Visible = xlSheetVisible
  .PrintOut
  .Visible = originalVisibility
End With
Application.ScreenUpdating = True
where the sheet is restored to its original visibilty after the print instruction.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a named row for dynamic addressing Creating Dynamic Ranking Tables ssol2016 Excel 1 10-27-2016 08:47 AM
creating a code to create dynamic text in word ah8471 Word VBA 1 12-29-2015 10:52 PM
creating a named row for dynamic addressing Creating a dynamic summary sheet FenelonPaul Excel 5 09-23-2015 07:11 AM
creating a named row for dynamic addressing Help Creating A Dynamic Footer Mikemo Word 3 02-05-2013 11:58 AM
Dynamic Named Ranges using text hannu Excel 0 06-22-2010 04:42 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft