BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Dick_Pickett
Fluorite | Level 6

Is this possible?

 

Example: An Excel cell contains: =HYPERLINK("[mailto:SNFVBP@rti.org]", "SNFVBP@rti.org")

 

PROC IMPORT does not import the cell contents.

 

PROC IMPORT datafile = "report" out = &tabnamecon
dbms = XLSX REPLACE ;

sheet = "&tabname" ;
getnames = NO ;
%IF &columnheadline = NA %THEN %DO ;
datarow = 1
%END ;
%IF &columnheadline ^= NA %THEN %DO ;
datarow=&columnheadline
%END ;
;
RUN ;

Richard F. Pickett, Research Systems Programmer/Analyst
Payment Data Analysis (PDA)
Community Health & Implementation Research Program(CHIRP)
Improving the Human Condition(ITCH)
Social, Statistical & Environmental Sciences(SSES)
RTI International
3040 Cornwallis Road
322 Building 9
Research Triangle Park, NC 27709-2194
Phone: 919.316.3798
Fax: 919.485.5589
mailto:rpickett@rti.org

turning knowledge into practice
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
When importing from Excel, it reads the value of the cell, not the formulas of the cell.
I'm not aware of any method to retrieving the formulas beyond parsing the XML file which is very cumbersome.

View solution in original post

1 REPLY 1
Reeza
Super User
When importing from Excel, it reads the value of the cell, not the formulas of the cell.
I'm not aware of any method to retrieving the formulas beyond parsing the XML file which is very cumbersome.

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 688 views
  • 1 like
  • 2 in conversation